summaryrefslogtreecommitdiff
path: root/misc/getopt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/getopt/Makefile')
-rw-r--r--misc/getopt/Makefile7
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