diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2004-02-18 02:08:32 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2004-02-18 02:08:32 +0000 |
commit | e81f093a1b01922873f07de92d14add656a74d6a (patch) | |
tree | 1f5935d82fc84c0eb5d57b0007e99ed454da8dd2 /devel/gettext | |
parent | 47846c1bfe60aa6eddfa19e35b094e0b07a44bd5 (diff) | |
download | ports-e81f093a1b01922873f07de92d14add656a74d6a.tar.gz ports-e81f093a1b01922873f07de92d14add656a74d6a.zip |
Notes
Diffstat (limited to 'devel/gettext')
-rw-r--r-- | devel/gettext/Makefile | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/devel/gettext/Makefile b/devel/gettext/Makefile index cce9adc2e208..3a27a68fb6b6 100644 --- a/devel/gettext/Makefile +++ b/devel/gettext/Makefile @@ -48,10 +48,29 @@ INFO= autosprintf gettext to "make". Please unset it and restart the build. .endif +.include <bsd.port.pre.mk> + +pre-extract: +.if exists(${PREFIX}/bin/kaffe) + @${ECHO_MSG} "Gettext won't build with Kaffe's jar utility. Doing:" + ${MV} ${PREFIX}/bin/jar ${PREFIX}/bin/jar.backup + @${ECHO_MSG} "Be sure to mv" ${PREFIX}/bin/jar.backup ${PREFIX}/bin/jar + @${ECHO_MSG} "if you abandon your attempt to build gettext. + @sleep 5 +.endif + +post-build: +.if exists(${PREFIX}/bin/kaffe) + ${MV} ${PREFIX}/bin/jar.backup ${PREFIX}/bin/jar + @${ECHO_MSG} + @${ECHO_MSG} "Your" ${PREFIX}/bin/jar "has been restored." + @sleep 5 +.endif + post-install: .for f in po-compat.el po-mode.el ${INSTALL_DATA} ${WRKSRC}/gettext-tools/misc/${f} ${PREFIX}/share/emacs/site-lisp .endfor ${MKDIR} ${X11BASE}/share/locale -.include <bsd.port.mk> +.include <bsd.port.post.mk> |