aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-05 08:13:03 +0800
committerbapt <bapt@FreeBSD.org>2014-01-05 08:13:03 +0800
commit8733a068d25b55080740b577c7ed7837f4ea53a6 (patch)
treef8a9a56a8e7abe30b1d20fc01a732c228bd6b411 /archivers
parent79f40ce9c018639f88db911d54221099eb469a7c (diff)
downloadfreebsd-ports-gnome-8733a068d25b55080740b577c7ed7837f4ea53a6.tar.gz
freebsd-ports-gnome-8733a068d25b55080740b577c7ed7837f4ea53a6.tar.zst
freebsd-ports-gnome-8733a068d25b55080740b577c7ed7837f4ea53a6.zip
Support stage
Diffstat (limited to 'archivers')
-rw-r--r--archivers/par/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/archivers/par/Makefile b/archivers/par/Makefile
index 550d38348efa..d6afe5ebdd27 100644
--- a/archivers/par/Makefile
+++ b/archivers/par/Makefile
@@ -14,29 +14,24 @@ LICENSE= GPLv2
CONFLICTS= par-[0-9]*
-NO_STAGE= yes
MAKEFILE= Makefile.Linux
MAKE_ARGS= CC="${CC}"
-PLIST_FILES= bin/${PORTNAME}
-MAN1= ${PORTNAME}.1
+PLIST_FILES= bin/${PORTNAME} \
+ man/man1/${PORTNAME}.1.gz
PORTDOCS= ChangeLog README
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's,-Wall.*-pipe,${CFLAGS}, ; \
s,"Linux,"${OPSYS},' ${WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -e 's,off_t,uint32_t,g' ${WRKSRC}/par.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>