aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2013-12-30 08:45:30 +0000
committerAlex Dupre <ale@FreeBSD.org>2013-12-30 08:45:30 +0000
commita2bfde69101ad289afa64b9f09b3686c6021820c (patch)
tree0efacd76e02f9439493140123bdd2bec67a8cd9e
parent13a75b7eaa0f3b39e584c8aae7372f7fa2df6f03 (diff)
downloadports-a2bfde69101ad289afa64b9f09b3686c6021820c.tar.gz
ports-a2bfde69101ad289afa64b9f09b3686c6021820c.zip
Notes
-rw-r--r--java/proguard/Makefile29
-rw-r--r--java/proguard/distinfo4
2 files changed, 14 insertions, 19 deletions
diff --git a/java/proguard/Makefile b/java/proguard/Makefile
index 51c491c31a4b..1861565eca57 100644
--- a/java/proguard/Makefile
+++ b/java/proguard/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= proguard
-PORTVERSION= 4.10
+PORTVERSION= 4.11
CATEGORIES= java devel
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTVERSION:S/.1$//}
@@ -15,6 +15,8 @@ LICENSE= GPLv2
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
+OPTIONS_DEFINE= DOCS EXAMPLES
+
USE_JAVA= yes
NO_BUILD= yes
@@ -23,22 +25,15 @@ SUB_FILES= proguard.sh proguard-gui.sh retrace.sh
PORTDOCS= *
PORTEXAMPLES= *
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
do-install:
- @${MKDIR} ${DATADIR}
- @${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${DATADIR}
- ${INSTALL_SCRIPT} ${WRKDIR}/proguard.sh ${PREFIX}/bin/proguard
- ${INSTALL_SCRIPT} ${WRKDIR}/proguard-gui.sh ${PREFIX}/bin/proguard-gui
- ${INSTALL_SCRIPT} ${WRKDIR}/retrace.sh ${PREFIX}/bin/retrace
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}/)
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/)
-.endif
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ @${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${STAGEDIR}${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/proguard.sh ${STAGEDIR}${PREFIX}/bin/proguard
+ ${INSTALL_SCRIPT} ${WRKDIR}/proguard-gui.sh ${STAGEDIR}${PREFIX}/bin/proguard-gui
+ ${INSTALL_SCRIPT} ${WRKDIR}/retrace.sh ${STAGEDIR}${PREFIX}/bin/retrace
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/)
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)
.include <bsd.port.mk>
diff --git a/java/proguard/distinfo b/java/proguard/distinfo
index 9bd02707e055..089db0933217 100644
--- a/java/proguard/distinfo
+++ b/java/proguard/distinfo
@@ -1,2 +1,2 @@
-SHA256 (proguard4.10.tar.gz) = a8ef5a95ae0c41c0a1a2aae5daa70c4c376fa49a9318a6d776aed2fcd76e8f4d
-SIZE (proguard4.10.tar.gz) = 1973327
+SHA256 (proguard4.11.tar.gz) = 90a4dbf8c016fd84da6d48d8b16e450ee07abafbfb7bb6eb5028651a8c255d9e
+SIZE (proguard4.11.tar.gz) = 2026713