aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-03-24 20:33:31 +0800
committerpawel <pawel@FreeBSD.org>2014-03-24 20:33:31 +0800
commite6d2bf742ac2501bcfc393be1fb6779d4ec8e58b (patch)
treeac978157413c957f07d774421e110f225031ebab /comms
parentca80e047af2f8f8d088811e3992d521c283f4ccc (diff)
downloadfreebsd-ports-gnome-e6d2bf742ac2501bcfc393be1fb6779d4ec8e58b.tar.gz
freebsd-ports-gnome-e6d2bf742ac2501bcfc393be1fb6779d4ec8e58b.tar.zst
freebsd-ports-gnome-e6d2bf742ac2501bcfc393be1fb6779d4ec8e58b.zip
Add staging support
Diffstat (limited to 'comms')
-rw-r--r--comms/comserv/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/comms/comserv/Makefile b/comms/comserv/Makefile
index 7e858a79cb3f..5eeda53ae1ff 100644
--- a/comms/comserv/Makefile
+++ b/comms/comserv/Makefile
@@ -10,9 +10,13 @@ MASTER_SITE_SUBDIR= bsd
MAINTAINER= ports@FreeBSD.org
COMMENT= Provide network access to local serial ports and make remote ports appear local
-MAN8= comservd.8
-MANCOMPRESSED= yes
-PLIST_FILES= sbin/comservd etc/comservd.conf.sample etc/rc.d/comservd.sh.sample
+PLIST_FILES= sbin/comservd etc/comservd.conf.sample \
+ etc/rc.d/comservd.sh.sample man/man8/comservd.8.gz
+
+post-patch:
+ @${REINPLACE_CMD} -E \
+ -e '/(INSTALL_|gzip)/ s,(BIN|CONF|MAN|RC)DIR,DESTDIR}$${&,g' \
+ -e 's,-o root -g wheel,,' \
+ ${WRKSRC}/Makefile
-NO_STAGE= yes
.include <bsd.port.mk>