aboutsummaryrefslogtreecommitdiff
path: root/devel/tinylaf/Makefile
blob: 9f75846d7c9d7ee8c3d171bf77b04a0fd33274a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# New ports collection makefile for:	tinylaf
# Date created:		22 May 2005
# Whom:			Thierry Thomas <thierry@pompo.net>
#
# $FreeBSD$
#

PORTNAME=	tinylaf
PORTVERSION=	1.3.8
CATEGORIES=	devel java
MASTER_SITES=	http://www.muntjak.de/hans/java/tinylaf/
DISTNAME=	${PORTNAME}-${PORTVERSION:S/./_/g}

MAINTAINER=	nemoliu@FreeBSD.org
COMMENT=	A pluggable Look and Feel for Java

USE_ZIP=	yes
USE_JAVA=	yes
JAVA_VERSION=	1.4+
NO_BUILD=	yes

JARFILE=	${PORTNAME}.jar

PORTDOCS=	readme.html license.txt
THEMES=		99\ Earth.theme 99\ Lego.theme 99\ Light.theme 99\ Pool.theme	\
		YQ\ Forest.theme YQ\ Golden.theme YQ\ Nightly.theme YQ\ Plastic.theme	\
		YQ\ Silver.theme

PLIST_FILES=	%%JAVAJARDIR%%/${JARFILE}
PLIST_FILES+=	${THEMES:S|^|%%DATADIR%%/|}
PLIST_DIRS+=	%%DATADIR%%

SUB_FILES=	pkg-message
PKGMESSAGE=	${WRKDIR}/pkg-message

do-install:
	${MKDIR} ${DATADIR}
	${INSTALL_DATA} ${JARFILE:S|^|${WRKSRC}/|} ${JAVAJARDIR}
	${INSTALL_DATA} ${THEMES:S|^|${WRKSRC}/|} ${DATADIR}
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif

post-install:
	@${ECHO_MSG}
	@${CAT} ${PKGMESSAGE}
	@${ECHO_MSG}

.include <bsd.port.mk>