aboutsummaryrefslogtreecommitdiff
path: root/misc/getopt
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-09-28 07:05:15 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-09-28 07:05:15 +0000
commitbde1b531b0f781a7117962068421201690d55e7c (patch)
tree9d33436e10f66eb3256bfba6df425c1c0d256329 /misc/getopt
parent71c78f6ebbda28ef943bd628ae1232b2dac2771a (diff)
Convert to staging
Notes
Notes: svn path=/head/; revision=328555
Diffstat (limited to 'misc/getopt')
-rw-r--r--misc/getopt/Makefile6
-rw-r--r--misc/getopt/pkg-plist1
2 files changed, 3 insertions, 4 deletions
diff --git a/misc/getopt/Makefile b/misc/getopt/Makefile
index 130974eb5932..42e900d05985 100644
--- a/misc/getopt/Makefile
+++ b/misc/getopt/Makefile
@@ -15,10 +15,8 @@ CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lintl
MAKE_ENV+= LIBCGETOPT=0
-MAN1= getopt.1
DOCS= Changelog README
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@@ -26,8 +24,8 @@ post-patch:
.if ${PORT_OPTIONS:MDOCS}
post-install:
- @${MKDIR} ${DOCSDIR}
- @cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/misc/getopt/pkg-plist b/misc/getopt/pkg-plist
index bf80ae576161..365a28d3ac18 100644
--- a/misc/getopt/pkg-plist
+++ b/misc/getopt/pkg-plist
@@ -27,3 +27,4 @@ share/locale/uk/LC_MESSAGES/getopt.mo
share/locale/vi/LC_MESSAGES/getopt.mo
share/locale/zh_CN/LC_MESSAGES/getopt.mo
share/locale/zh_TW/LC_MESSAGES/getopt.mo
+man/man1/getopt.1.gz