svn commit: r359030 - head/ports-mgmt/pkg_add_it
Jason E. Hale
jhale at FreeBSD.org
Tue Jun 24 03:28:05 UTC 2014
Author: jhale
Date: Tue Jun 24 03:28:04 2014
New Revision: 359030
URL: http://svnweb.freebsd.org/changeset/ports/359030
QAT: https://qat.redports.org/buildarchive/r359030/
Log:
- Support staging
Approved by: portmgr (blanket approval)
Modified:
head/ports-mgmt/pkg_add_it/Makefile
Modified: head/ports-mgmt/pkg_add_it/Makefile
==============================================================================
--- head/ports-mgmt/pkg_add_it/Makefile Tue Jun 24 02:40:06 2014 (r359029)
+++ head/ports-mgmt/pkg_add_it/Makefile Tue Jun 24 03:28:04 2014 (r359030)
@@ -9,11 +9,11 @@ MASTER_SITES= http://www.unix-heaven.org
MAINTAINER= dnaeon at 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>
More information about the svn-ports-all
mailing list