aboutsummaryrefslogtreecommitdiffstats
path: root/misc/getopt
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-09-28 15:05:15 +0800
committereadler <eadler@FreeBSD.org>2013-09-28 15:05:15 +0800
commit46adf777049cc258dbed6cee95878858d980955e (patch)
tree9d33436e10f66eb3256bfba6df425c1c0d256329 /misc/getopt
parent088ee850510be9f3914402e75a73a2f3437e6840 (diff)
downloadfreebsd-ports-gnome-46adf777049cc258dbed6cee95878858d980955e.tar.gz
freebsd-ports-gnome-46adf777049cc258dbed6cee95878858d980955e.tar.zst
freebsd-ports-gnome-46adf777049cc258dbed6cee95878858d980955e.zip
Convert to staging
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