diff options
Diffstat (limited to 'java/jad/Makefile')
-rw-r--r-- | java/jad/Makefile | 16 |
1 files changed, 12 insertions, 4 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> |