From 305fc1305cc177844093430538fed3a5ba9931e2 Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Mon, 24 Mar 2014 12:33:31 +0000 Subject: [PATCH] Add staging support --- comms/comserv/Makefile | 12 ++++++++---- 1 file 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