summaryrefslogtreecommitdiff
path: root/net-mgmt/clog
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-01-13 17:55:52 +0000
committerRenato Botelho <garga@FreeBSD.org>2014-01-13 17:55:52 +0000
commitb6890d374978dce573df5521c5295f8109e46874 (patch)
tree9fb84e4127e86d55b243b1af41809b345267aac1 /net-mgmt/clog
parentMissed pkg-plist changes on r339608 (diff)
Support staging
Respect ${CC} Approved by: portmgr@ (blanket)
Notes
Notes: svn path=/head/; revision=339615
Diffstat (limited to 'net-mgmt/clog')
-rw-r--r--net-mgmt/clog/Makefile9
-rw-r--r--net-mgmt/clog/pkg-plist1
2 files changed, 6 insertions, 4 deletions
diff --git a/net-mgmt/clog/Makefile b/net-mgmt/clog/Makefile
index 17c5ff7aabda..49453fb9bd92 100644
--- a/net-mgmt/clog/Makefile
+++ b/net-mgmt/clog/Makefile
@@ -14,11 +14,12 @@ PATCH_DEPENDS= rcsdiff:${PORTSDIR}/devel/rcs
WRKSRC= ${WRKDIR}/clog
ALL_TARGET= freebsd
-MAN8= clog.8
-NO_STAGE= yes
+post-patch:
+ @${REINPLACE_CMD} -e 's,gcc,$${CC},g' ${WRKSRC}/Makefile
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/clog ${PREFIX}/sbin
- ${INSTALL_MAN} ${WRKSRC}/clog.8 ${PREFIX}/man/man8
+ ${INSTALL_PROGRAM} ${WRKSRC}/clog ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_MAN} ${WRKSRC}/clog.8 ${STAGEDIR}${PREFIX}/man/man8
.include <bsd.port.mk>
diff --git a/net-mgmt/clog/pkg-plist b/net-mgmt/clog/pkg-plist
index b6ec57722f90..4dd7fc1d4cc4 100644
--- a/net-mgmt/clog/pkg-plist
+++ b/net-mgmt/clog/pkg-plist
@@ -1,2 +1,3 @@
@comment $FreeBSD$
sbin/clog
+man/man8/clog.8.gz