aboutsummaryrefslogtreecommitdiffstats
path: root/devel/looks
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-23 08:43:29 +0800
committerbapt <bapt@FreeBSD.org>2014-01-23 08:43:29 +0800
commitecf9bdae1228ca7e682d664ec9fc6310ce3447d4 (patch)
treec39db7e048297374f121bef8ed042e083166a18d /devel/looks
parentdd3f609bcbd9704f5bf517c200eb2f79b28fd039 (diff)
downloadfreebsd-ports-gnome-ecf9bdae1228ca7e682d664ec9fc6310ce3447d4.tar.gz
freebsd-ports-gnome-ecf9bdae1228ca7e682d664ec9fc6310ce3447d4.tar.zst
freebsd-ports-gnome-ecf9bdae1228ca7e682d664ec9fc6310ce3447d4.zip
Support stage
Diffstat (limited to 'devel/looks')
-rw-r--r--devel/looks/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/devel/looks/Makefile b/devel/looks/Makefile
index 2eb6ca8ee8e4..af13064a170d 100644
--- a/devel/looks/Makefile
+++ b/devel/looks/Makefile
@@ -7,13 +7,15 @@ PORTREVISION= 1
CATEGORIES= devel java
MASTER_SITES= http://www.jgoodies.com/download/libraries/${PORTNAME}/
DISTNAME= jgoodies-${PORTNAME}-${PORTVERSION:S|.|_|g}
+EXTRACT_SUFX= .zip
MAINTAINER= ports@FreeBSD.org
COMMENT= JGoodies Looks improve the appearance of your Java applications
-LICENSE= BSD
+OPTIONS_DEFINE= DOCS
+
+LICENSE= BSD3CLAUSE
-USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
@@ -27,17 +29,11 @@ PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} \
DOCFILES= README.html RELEASE-NOTES.txt
PORTDOCS= *
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
do-install:
- ${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${JAVAJARDIR}
- ${LN} -s ${JAVAJARDIR}/${JARFILE} ${JAVAJARDIR}/looks.jar
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${DOCFILES:S|^|${WRKSRC}/|} ${DOCSDIR}
- @(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
- @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
-.endif
+ ${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}
+ ${LN} -sf ${JARFILE} ${STAGEDIR}${JAVAJARDIR}/looks.jar
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${DOCFILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+ @(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>