aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2014-06-24 03:28:04 +0000
committerJason E. Hale <jhale@FreeBSD.org>2014-06-24 03:28:04 +0000
commit7ae5daeb1106cea4c1bcb9d0646c887ee3b1c2ed (patch)
treed81bd437936624fda01ed888ffa8412e62cd744d /ports-mgmt
parent7a699892f722e7c8dcf570400c0eea28ed2c61e7 (diff)
downloadports-7ae5daeb1106cea4c1bcb9d0646c887ee3b1c2ed.tar.gz
ports-7ae5daeb1106cea4c1bcb9d0646c887ee3b1c2ed.zip
Notes
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>