aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/pecomato/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pecomato/Makefile')
-rw-r--r--graphics/pecomato/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/graphics/pecomato/Makefile b/graphics/pecomato/Makefile
index e35ee8369ad5..c22c57caf859 100644
--- a/graphics/pecomato/Makefile
+++ b/graphics/pecomato/Makefile
@@ -15,19 +15,18 @@ USE_PYTHON_BUILD= yes
MAKEFILE= Makefile.unix
-MAN1= pecomato.1
-PLIST_FILES= bin/pecomato
+PLIST_FILES= bin/pecomato man/man1/pecomato.1.gz
-NO_STAGE= yes
post-build:
${PYTHON} ${WRKSRC}/devtools/txt2tags.py --no-rc -t man \
- -i ${WRKSRC}/doc/manpage.t2t -o ${WRKSRC}/doc/${MAN1}
+ -i ${WRKSRC}/doc/manpage.t2t -o ${WRKSRC}/doc/${PORTNAME}.1
post-patch:
@${REINPLACE_CMD} -e '/^CC/d' ${WRKSRC}/${MAKEFILE}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MANPREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \
+ ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>