aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2014-01-14 01:55:52 +0800
committergarga <garga@FreeBSD.org>2014-01-14 01:55:52 +0800
commit45ca6f66f2d8af577dbb7443439ed8e8db6f2bb1 (patch)
tree9fb84e4127e86d55b243b1af41809b345267aac1 /net-mgmt
parent99228bddaf13b9125b152032d60c81378b6c7160 (diff)
downloadfreebsd-ports-gnome-45ca6f66f2d8af577dbb7443439ed8e8db6f2bb1.tar.gz
freebsd-ports-gnome-45ca6f66f2d8af577dbb7443439ed8e8db6f2bb1.tar.zst
freebsd-ports-gnome-45ca6f66f2d8af577dbb7443439ed8e8db6f2bb1.zip
Support staging
Respect ${CC} Approved by: portmgr@ (blanket)
Diffstat (limited to 'net-mgmt')
-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