diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2001-04-15 15:03:17 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2001-04-15 15:03:17 +0000 |
commit | bb8ea7377bac92b079abdf0ee92edb714c86b08b (patch) | |
tree | d237f6eb86de627b312761c4c62fb45bba4a76ab /java | |
parent | 3b96446b1131cd92fb79d67f0c00bcdf9ca75b81 (diff) | |
download | ports-bb8ea7377bac92b079abdf0ee92edb714c86b08b.tar.gz ports-bb8ea7377bac92b079abdf0ee92edb714c86b08b.zip |
- apply PORTDOCS for files in ${PREFIX}/share/doc
- mark BROKEN for FreeBSD/Alpha
PR: 26591
Submitted by: MAINTAINER
Notes
Notes:
svn path=/head/; revision=41422
Diffstat (limited to 'java')
-rw-r--r-- | java/jad/Makefile | 16 | ||||
-rw-r--r-- | java/jad/pkg-plist | 4 |
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 |