aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-23 00:43:29 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-23 00:43:29 +0000
commitde91c01d061f38ce6c8d20436d9efdd005104ae9 (patch)
treec39db7e048297374f121bef8ed042e083166a18d /devel
parentaeb4851c6ade0c9a2714dd7f7027d3de2445494e (diff)
downloadports-de91c01d061f38ce6c8d20436d9efdd005104ae9.tar.gz
ports-de91c01d061f38ce6c8d20436d9efdd005104ae9.zip
Notes
Diffstat (limited to 'devel')
-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>