diff options
author | drochner <drochner@pkgsrc.org> | 2013-04-12 22:26:44 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2013-04-12 22:26:44 +0000 |
commit | 8c6229a7793e3409b07cacd70c4a9560f192a6b5 (patch) | |
tree | 06f5546f2b2889fdb36378fa5b3f4bf8a3bb1f58 /misc/getopt/Makefile | |
parent | 69a132102c22c4a588917e2e3e3fd63be23ce0cf (diff) | |
download | pkgsrc-8c6229a7793e3409b07cacd70c4a9560f192a6b5.tar.gz |
try to clean up a bit
there is no point in using msgfmt if the result isn't installed
Diffstat (limited to 'misc/getopt/Makefile')
-rw-r--r-- | misc/getopt/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/misc/getopt/Makefile b/misc/getopt/Makefile index efc912aee22..56cf44a3e5b 100644 --- a/misc/getopt/Makefile +++ b/misc/getopt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2013/04/12 19:59:38 adam Exp $ +# $NetBSD: Makefile,v 1.16 2013/04/12 22:26:44 drochner Exp $ DISTNAME= getopt-1.1.5 CATEGORIES= misc @@ -11,10 +11,13 @@ LICENSE= gnu-gpl-v2 PKG_INSTALLATION_TYPES= overwrite pkgviews -USE_TOOLS+= gmake msgfmt +USE_TOOLS+= gmake INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 +post-extract: + ${RM} ${WRKSRC}/gnu/*.o + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/getopt ${DESTDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/getopt.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 |