From b39a971531ef0e235dd6d26b614d31280ce596c4 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Fri, 28 Feb 2014 07:20:05 +0000 Subject: [PATCH] Support staging --- misc/rfc/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/misc/rfc/Makefile b/misc/rfc/Makefile index 1023d9d13e82..5c9b42c231ec 100644 --- a/misc/rfc/Makefile +++ b/misc/rfc/Makefile @@ -14,11 +14,8 @@ RUN_DEPENDS= w3m:${PORTSDIR}/www/w3m NO_BUILD= yes -MAN1= rfc.1 -PLIST_FILES= bin/rfc \ - "@unexec rm -f %%PREFIX%%/etc/rfc-index" +PLIST_FILES= bin/rfc man/man1/rfc.1.gz -NO_STAGE= yes do-configure: @${REINPLACE_CMD} -e 's|/usr/local/etc/rfc|${PREFIX}/etc/rfc| ; \ s|/usr/local/etc/nmap|${PREFIX}/share/misc/nmap| ; \ @@ -29,7 +26,7 @@ do-configure: do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-${PORTVERSION} \ - ${PREFIX}/bin/${PORTNAME} - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1 + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include