aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-05 02:31:34 +0800
committerbapt <bapt@FreeBSD.org>2014-01-05 02:31:34 +0800
commitd26b317892522edc13de2ee8eae5436f6aeb3dd4 (patch)
tree9e45c58b6c7c3c5cae4c897878f94905421755e9 /archivers
parent87107555e8d4d68c8a91298b1dbce6afda3ddee2 (diff)
downloadfreebsd-ports-gnome-d26b317892522edc13de2ee8eae5436f6aeb3dd4.tar.gz
freebsd-ports-gnome-d26b317892522edc13de2ee8eae5436f6aeb3dd4.tar.zst
freebsd-ports-gnome-d26b317892522edc13de2ee8eae5436f6aeb3dd4.zip
Support stage
Diffstat (limited to 'archivers')
-rw-r--r--archivers/rar/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/archivers/rar/Makefile b/archivers/rar/Makefile
index b503e6c48d54..57b5645ae7bd 100644
--- a/archivers/rar/Makefile
+++ b/archivers/rar/Makefile
@@ -17,10 +17,9 @@ LICENSE_FILE= ${WRKSRC}/license.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
RESTRICTED= only unmodified original package can be distributed
-NO_STAGE= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/rar
-PLIST_FILES= bin/rar lib/default.sfx etc/rarfiles.lst man/cat1/rar.1
+PLIST_FILES= bin/rar lib/default.sfx etc/rarfiles.lst man/cat1/rar.1.gz
PORTDOCS= technote.txt license.txt whatsnew.txt order.htm \
readme.txt
@@ -38,17 +37,15 @@ IGNORE= requires a kernel with compiled-in IA32 compatibility
.endif
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/rar_static ${PREFIX}/bin/rar
- ${INSTALL_MAN} ${WRKSRC}/rar.txt ${PREFIX}/man/cat1/rar.1
- ${INSTALL_DATA} ${WRKSRC}/rarfiles.lst ${PREFIX}/etc
- ${INSTALL_DATA} ${WRKSRC}/default.sfx ${PREFIX}/lib
+ ${INSTALL_PROGRAM} ${WRKSRC}/rar_static ${STAGEDIR}${PREFIX}/bin/rar
+ ${INSTALL_MAN} ${WRKSRC}/rar.txt ${STAGEDIR}${PREFIX}/man/cat1/rar.1
+ ${INSTALL_DATA} ${WRKSRC}/rarfiles.lst ${STAGEDIR}${PREFIX}/etc
+ ${INSTALL_DATA} ${WRKSRC}/default.sfx ${STAGEDIR}${PREFIX}/lib
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.post.mk>