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 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}