aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2014-06-24 11:28:04 +0800
committerjhale <jhale@FreeBSD.org>2014-06-24 11:28:04 +0800
commite85c0a4d82a1210318e6eb818a11d710114504bb (patch)
treed81bd437936624fda01ed888ffa8412e62cd744d /ports-mgmt
parentb0b673de85eb8e18eeb6db3ef427799d233e7707 (diff)
downloadfreebsd-ports-gnome-e85c0a4d82a1210318e6eb818a11d710114504bb.tar.gz
freebsd-ports-gnome-e85c0a4d82a1210318e6eb818a11d710114504bb.tar.zst
freebsd-ports-gnome-e85c0a4d82a1210318e6eb818a11d710114504bb.zip
- Support staging
Approved by: portmgr (blanket approval)
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/pkg_add_it/Makefile21
1 files changed, 8 insertions, 13 deletions
diff --git a/ports-mgmt/pkg_add_it/Makefile b/ports-mgmt/pkg_add_it/Makefile
index 646b23f179d3..d0caf453f149 100644
--- a/ports-mgmt/pkg_add_it/Makefile
+++ b/ports-mgmt/pkg_add_it/Makefile
@@ -9,11 +9,11 @@ MASTER_SITES= http://www.unix-heaven.org/FreeBSD/distfiles/
MAINTAINER= dnaeon@gmail.com
COMMENT= Interactive tool for package installation
-MAN1= pkg_add_it.1
-MAN5= pkg_add_it.conf.5
-PLIST_FILES= etc/pkg_add_it.conf sbin/pkg_add_it
+PLIST_FILES= etc/pkg_add_it.conf \
+ man/man1/pkg_add_it.1.gz \
+ man/man5/pkg_add_it.conf.5.gz \
+ sbin/pkg_add_it
-NO_STAGE= yes
.include <bsd.port.pre.mk>
PKG_RELEASE!= ${UNAME} -r | ${CUT} -d '-' -f 1,2 | ${SED} -e 's|\.[0-9]*.*|-STABLE|'
@@ -23,14 +23,9 @@ post-patch:
-e 's|@PKG_RELEASE@|${PKG_RELEASE:tl}|' ${WRKSRC}/pkg_add_it.conf
do-install:
- ${INSTALL_DATA} ${WRKSRC}/pkg_add_it.conf ${PREFIX}/etc/
- ${INSTALL_PROGRAM} ${WRKSRC}/pkg_add_it ${PREFIX}/sbin/
- ${INSTALL_MAN} ${WRKSRC}/pkg_add_it.1 ${MAN1PREFIX}/man/man1/
- ${INSTALL_MAN} ${WRKSRC}/pkg_add_it.conf.5 ${MAN5PREFIX}/man/man5/
-
-post-install:
- @${ECHO_CMD}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_CMD}
+ ${INSTALL_DATA} ${WRKSRC}/pkg_add_it.conf ${STAGEDIR}${PREFIX}/etc
+ ${INSTALL_PROGRAM} ${WRKSRC}/pkg_add_it ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/pkg_add_it.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/pkg_add_it.conf.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
.include <bsd.port.post.mk>