aboutsummaryrefslogtreecommitdiff
path: root/java/jad
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-04-15 15:03:17 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-04-15 15:03:17 +0000
commitbb8ea7377bac92b079abdf0ee92edb714c86b08b (patch)
treed237f6eb86de627b312761c4c62fb45bba4a76ab /java/jad
parent3b96446b1131cd92fb79d67f0c00bcdf9ca75b81 (diff)
downloadports-bb8ea7377bac92b079abdf0ee92edb714c86b08b.tar.gz
ports-bb8ea7377bac92b079abdf0ee92edb714c86b08b.zip
Notes
Diffstat (limited to 'java/jad')
-rw-r--r--java/jad/Makefile16
-rw-r--r--java/jad/pkg-plist4
2 files changed, 14 insertions, 6 deletions
diff --git a/java/jad/Makefile b/java/jad/Makefile
index b678c5469061..2521484fc38d 100644
--- a/java/jad/Makefile
+++ b/java/jad/Makefile
@@ -18,9 +18,17 @@ USE_ZIP= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "alpha"
+BROKEN= Not supported on FreeBSD/Alpha
+.endif
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/jad ${PREFIX}/bin/
- ${MKDIR} ${PREFIX}/share/doc/jad
- ${INSTALL_DATA} ${WRKSRC}/Readme.txt ${PREFIX}/share/doc/jad/
+ @${INSTALL_PROGRAM} ${WRKSRC}/jad ${PREFIX}/bin/
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/jad
+ @${INSTALL_DATA} ${WRKSRC}/Readme.txt ${PREFIX}/share/doc/jad/
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/java/jad/pkg-plist b/java/jad/pkg-plist
index 3ca40900d991..613ad681cdfe 100644
--- a/java/jad/pkg-plist
+++ b/java/jad/pkg-plist
@@ -1,3 +1,3 @@
bin/jad
-share/doc/jad/Readme.txt
-@dirrm share/doc/jad
+%%PORTDOCS%%share/doc/jad/Readme.txt
+%%PORTDOCS%%@dirrm share/doc/jad