From 3e446db25d68ef374366180de09c143bf919d9a8 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sun, 5 Jan 2014 00:13:03 +0000 Subject: [PATCH] Support stage --- archivers/par/Makefile | 17 ++++++----------- 1 file 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 - 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