install source man page; drop USE_GROFF; don't try to strip(1) Perl script

This commit is contained in:
naddy 2011-07-03 23:13:14 +00:00
parent 07b052b52c
commit 92ca11ae3a
2 changed files with 6 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2010/11/22 08:36:49 espie Exp $
# $OpenBSD: Makefile,v 1.8 2011/07/03 23:13:14 naddy Exp $
COMMENT = proxy that can transliterate japanese
@ -21,17 +21,16 @@ RUN_DEPENDS = japanese/p5-Text-Kakasi \
devel/p5-AppConfig \
www/p5-libwww
USE_GROFF = Yes
NO_REGRESS = Yes
do-build:
cd ${WRKSRC} && pod2man japana|nroff -man >japana.cat1
cd ${WRKSRC} && pod2man japana >japana.1
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/japana/
${INSTALL_DATA} ${WRKDIST}/default.conf \
${PREFIX}/share/examples/japana/japana.conf
${INSTALL_MAN} ${WRKBUILD}/japana.cat1 ${PREFIX}/man/cat1/japana.0
${INSTALL_PROGRAM} ${WRKDIST}/japana ${PREFIX}/sbin/japana
${INSTALL_MAN} ${WRKBUILD}/japana.1 ${PREFIX}/man/man1/japana.1
${INSTALL_SCRIPT} ${WRKDIST}/japana ${PREFIX}/sbin/japana
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
@comment $OpenBSD: PLIST,v 1.2 2005/09/05 12:27:13 espie Exp $
@man man/cat1/japana.0
@comment $OpenBSD: PLIST,v 1.3 2011/07/03 23:13:14 naddy Exp $
@man man/man1/japana.1
sbin/japana
share/examples/japana/
share/examples/japana/japana.conf