diff options
author | grant <grant@pkgsrc.org> | 2002-12-12 01:56:23 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2002-12-12 01:56:23 +0000 |
commit | ff8fa61e07666ba1f4ec03096b913b978df587a8 (patch) | |
tree | 488587cb7abc3295d9c80fa201e4ac2c7b143494 /devel/gettext/Makefile | |
parent | 3e6754dedc03bbddaa34bf68754e2990c9be5dd7 (diff) | |
download | pkgsrc-ff8fa61e07666ba1f4ec03096b913b978df587a8.tar.gz |
Handle the optional installation of the gettext.jar java class, which
is installed if a working java compiler is found (eg. Solaris).
Diffstat (limited to 'devel/gettext/Makefile')
-rw-r--r-- | devel/gettext/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/devel/gettext/Makefile b/devel/gettext/Makefile index 6aeb20a8efd..7eab03a4a4f 100644 --- a/devel/gettext/Makefile +++ b/devel/gettext/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.42 2002/12/12 00:57:15 jlam Exp $ +# $NetBSD: Makefile,v 1.43 2002/12/12 01:56:23 grant Exp $ # FreeBSD Id: Makefile,v 1.1.1.1 1998/08/09 15:13:33 kuriyama Exp # @@ -26,8 +26,19 @@ CONFIGURE_ARGS+= --without-included-gettext INFO_FILES= gettext.info TEXINFO_OVERRIDE= YES +PLIST_SRC= ${WRKDIR}/PLIST +OPTIONAL_FILES+= share/gettext/gettext.jar + post-install: cd ${WRKSRC}/intl; ${MAKE_PROGRAM} install-data + @${CP} ${PKGDIR}/PLIST ${PLIST_SRC} + @( \ + for FILE in ${OPTIONAL_FILES}; do \ + ${TEST} ! -e ${PREFIX}/$$FILE || ${ECHO} $$FILE; \ + done; \ + ${ECHO} "@dirrm share/gettext"; \ + ) >>${PLIST_SRC} + .include "../../devel/gettext-lib/buildlink2.mk" .include "../../mk/texinfo.mk" |