aboutsummaryrefslogtreecommitdiff
path: root/archivers/deutex
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-05 00:15:00 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-05 00:15:00 +0000
commitabd39abbd9777e537ac34d86a944d3d269607987 (patch)
tree89d5639a411fdff30d04a65ab9bd51b4b836f594 /archivers/deutex
parent3e446db25d68ef374366180de09c143bf919d9a8 (diff)
downloadports-abd39abbd9777e537ac34d86a944d3d269607987.tar.gz
ports-abd39abbd9777e537ac34d86a944d3d269607987.zip
Notes
Diffstat (limited to 'archivers/deutex')
-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>