aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-06-04 19:47:32 +0800
committermiwi <miwi@FreeBSD.org>2014-06-04 19:47:32 +0800
commit8475942eb75e3fad161e8765ac20ee38f428682b (patch)
treebde97b6c2093e59ddfb46f8388d3806d6744c923 /net
parent51783f6ca544b585fed1f0a399aa81c964b4fade (diff)
downloadfreebsd-ports-gnome-8475942eb75e3fad161e8765ac20ee38f428682b.tar.gz
freebsd-ports-gnome-8475942eb75e3fad161e8765ac20ee38f428682b.tar.zst
freebsd-ports-gnome-8475942eb75e3fad161e8765ac20ee38f428682b.zip
- Stage support
PR: 190610 Submitted by: maintainer
Diffstat (limited to 'net')
-rw-r--r--net/ifdepd/Makefile13
-rw-r--r--net/ifdepd/files/patch-Makefile2
2 files changed, 7 insertions, 8 deletions
diff --git a/net/ifdepd/Makefile b/net/ifdepd/Makefile
index 7a20624935e6..8632daa0552e 100644
--- a/net/ifdepd/Makefile
+++ b/net/ifdepd/Makefile
@@ -9,14 +9,13 @@ MASTER_SITES= http://alex.bmg.gv.at/programs/
MAINTAINER= alex@hugo.bmg.gv.at
COMMENT= Interface Dependency daemon
-MAN8= ifdepd.8
-
-PLIST_FILES= bin/ifdepd
-
USE_RC_SUBR= ${PORTNAME}
-NO_STAGE= yes
-post-install:
- @${CAT} ${PKGMESSAGE}
+PLIST_FILES= bin/ifdepd \
+ man/man8/ifdepd.8.gz
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ifdepd ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/ifdepd.8 ${STAGEDIR}${PREFIX}/man/man8
.include <bsd.port.mk>
diff --git a/net/ifdepd/files/patch-Makefile b/net/ifdepd/files/patch-Makefile
index 595e6ca2ff60..418700c1addd 100644
--- a/net/ifdepd/files/patch-Makefile
+++ b/net/ifdepd/files/patch-Makefile
@@ -22,7 +22,7 @@
-.endif
- ${INSTALL} -o root -g wheel -m 644 ${MAN8} ${PREFIX}/man/man8
+ ${BSD_INSTALL_PROGRAM} ${PROG} ${PREFIX}/bin
-+ ${BSD_INSTALL_MAN} ${MAN8} ${PREFIX}/man/man8
++ ${BSD_INSTALL_MAN} ${MAN8} $${PREFIX}/man/man8
deinstall:
${RM} ${PREFIX}/bin/${PROG}