aboutsummaryrefslogtreecommitdiff
path: root/java/jad/Makefile
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-02-17 18:25:52 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-02-17 18:25:52 +0000
commit775ae2ad79578259a0b64a8dbffdff545f7e6d89 (patch)
tree18a13f2e8e7e5a80401040a7bc4f589e925bb836 /java/jad/Makefile
parentc86291eb1c38f8617756ce299e58565a9d4e1f16 (diff)
downloadports-775ae2ad79578259a0b64a8dbffdff545f7e6d89.tar.gz
ports-775ae2ad79578259a0b64a8dbffdff545f7e6d89.zip
Notes
Diffstat (limited to 'java/jad/Makefile')
-rw-r--r--java/jad/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/java/jad/Makefile b/java/jad/Makefile
index 75a67edc4090..db849cf898d6 100644
--- a/java/jad/Makefile
+++ b/java/jad/Makefile
@@ -6,11 +6,11 @@ PORTVERSION= 1.5.8c
CATEGORIES= java devel
MASTER_SITES= http://www.varaneckas.com/sites/default/files/jad/
DISTNAME= jad158c.freebsd
+EXTRACT_SUFX= .zip
MAINTAINER= ale@FreeBSD.org
-COMMENT= A Java Decompiler
+COMMENT= Java Decompiler
-USE_ZIP= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
@@ -20,12 +20,11 @@ PORTDOCS= *
ONLY_FOR_ARCHS= i386 amd64
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/jad ${PREFIX}/bin/
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/Readme.txt ${DOCSDIR}/
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/jad ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Readme.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>