aboutsummaryrefslogtreecommitdiffstats
path: root/devel/tinylaf/Makefile
blob: 71277cfb8725b480297d549748313ca73fb4e8a9 (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
52
# New ports collection makefile for:    tinylaf
# Date created:     22 May 2005
# Whom:         Thierry Thomas <thierry@pompo.net>
#
# $FreeBSD$
#

PORTNAME=   tinylaf
PORTVERSION=    1.3.8
PORTREVISION=   1
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>