aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-05 08:15:00 +0800
committerbapt <bapt@FreeBSD.org>2014-01-05 08:15:00 +0800
commit890c901afcb2157d3ce7020c278323252c643904 (patch)
tree89d5639a411fdff30d04a65ab9bd51b4b836f594 /archivers
parent8733a068d25b55080740b577c7ed7837f4ea53a6 (diff)
downloadfreebsd-ports-gnome-890c901afcb2157d3ce7020c278323252c643904.tar.gz
freebsd-ports-gnome-890c901afcb2157d3ce7020c278323252c643904.tar.zst
freebsd-ports-gnome-890c901afcb2157d3ce7020c278323252c643904.zip
Support stage
Diffstat (limited to 'archivers')
-rw-r--r--archivers/deutex/Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/archivers/deutex/Makefile b/archivers/deutex/Makefile
index 36f94626bc02..5d8cca6afd6d 100644
--- a/archivers/deutex/Makefile
+++ b/archivers/deutex/Makefile
@@ -15,13 +15,10 @@ LICENSE= GPLv2
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
-NO_STAGE= yes
-MAN6= ${PORTNAME}.6
-PLIST_FILES= bin/deusf bin/deutex
+PLIST_FILES= bin/deusf bin/deutex \
+ man/man6/${PORTNAME}.6.gz
PORTDOCS= *
-.include <bsd.port.options.mk>
-
post-extract:
@${REINPLACE_CMD} -e 's,-mkdir,mkdir -p,' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's,malloc\.h,stdlib.h,' ${WRKSRC}/src/tools.c
@@ -29,12 +26,10 @@ post-extract:
${WRKSRC}/src/sound.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/deusf ${WRKSRC}/deutex ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${MAN6} ${MANPREFIX}/man/man6
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/TODO ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/dtexman6.txt ${DOCSDIR}/MANUAL
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/deusf ${WRKSRC}/deutex ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/TODO ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/dtexman6.txt ${STAGEDIR}${DOCSDIR}/MANUAL
.include <bsd.port.mk>