diff options
-rw-r--r-- | devel/gettext/Makefile | 13 | ||||
-rw-r--r-- | devel/gettext/PLIST | 3 |
2 files changed, 13 insertions, 3 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" diff --git a/devel/gettext/PLIST b/devel/gettext/PLIST index a98ca1352c0..03a34b8b3d4 100644 --- a/devel/gettext/PLIST +++ b/devel/gettext/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2002/11/27 17:41:05 drochner Exp $ +@comment $NetBSD: PLIST,v 1.4 2002/12/12 01:56:23 grant Exp $ bin/autopoint bin/gettext bin/gettextize @@ -202,6 +202,5 @@ ${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/gettext.mo ${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/gettext.mo @dirrm share/gettext/po @dirrm share/gettext/intl -@dirrm share/gettext @dirrm lib/gettext @dirrm doc/gettext |