diff options
Diffstat (limited to 'java/proguard/Makefile')
-rw-r--r-- | java/proguard/Makefile | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/java/proguard/Makefile b/java/proguard/Makefile index 62df9427f11d..b5b7b3d68201 100644 --- a/java/proguard/Makefile +++ b/java/proguard/Makefile @@ -6,7 +6,7 @@ # PORTNAME= proguard -PORTVERSION= 1.5.1 +PORTVERSION= 3.2 CATEGORIES= java devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,13 +15,19 @@ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= alexs@snark.rinet.ru COMMENT= Java obfuseeKata -USE_JAVA= 1.1+ +RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper + +USE_JAVA= yes NO_BUILD= yes +SUB_FILES= proguard.sh proguard-gui.sh + do-install: - -@${MKDIR} ${PREFIX}/share/proguard - @${CP} -PRpf ${WRKSRC}/lib ${PREFIX}/share/proguard - @${CP} -PRpf ${WRKSRC}/docs ${PREFIX}/share/proguard - @${CP} -PRpf ${WRKSRC}/examples ${PREFIX}/share/proguard + cd ${WRKSRC} && \ + ${FIND} lib docs examples -type d -exec ${MKDIR} ${DATADIR}/{} \; + cd ${WRKSRC} && \ + ${FIND} lib docs examples -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \; + ${INSTALL_SCRIPT} ${WRKDIR}/proguard.sh ${PREFIX}/bin/proguard + ${INSTALL_SCRIPT} ${WRKDIR}/proguard-gui.sh ${PREFIX}/bin/proguard-gui .include <bsd.port.mk> |