use CONFIGURE_STYLE=perl

install man pages in man3p
This commit is contained in:
wilfried 2002-06-08 18:56:34 +00:00
parent 4fe7a39a7e
commit ef5caa6455
4 changed files with 29 additions and 15 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 2002/05/13 23:31:26 espie Exp $ # $OpenBSD: Makefile,v 1.7 2002/06/08 18:56:34 wilfried Exp $
COMMENT= "verify credit card pins" COMMENT= "verify credit card pins"
@ -14,12 +14,19 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= perl
NO_REGRESS= Yes
do-configure:
do-build: do-build:
@cd ${WRKSRC} && pod2man CreditCard.pm > Business::CreditCard.3p @cd ${WRKSRC} && pod2man CreditCard.pm > Business::CreditCard.3p
do-install: do-install:
${INSTALL_DATA_DIR} ${PREFIX}/libdata/perl5/site_perl/Business ${INSTALL_DATA_DIR} ${PREFIX}/${P5SITE}/Business
${INSTALL_DATA} ${WRKSRC}/CreditCard.pm ${PREFIX}/libdata/perl5/site_perl/Business ${INSTALL_DATA} ${WRKSRC}/CreditCard.pm ${PREFIX}/${P5SITE}/Business/
${INSTALL_MAN} ${WRKSRC}/Business::CreditCard.3p ${PREFIX}/man/man3 ${INSTALL_MAN_DIR} ${PREFIX}/man/man3p/
${INSTALL_MAN} ${WRKSRC}/Business::CreditCard.3p ${PREFIX}/man/man3p/
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2000/06/02 12:12:26 espie Exp $ @comment $OpenBSD: PLIST,v 1.2 2002/06/08 18:56:34 wilfried Exp $
libdata/perl5/site_perl/Business/CreditCard.pm ${P5SITE}/Business/CreditCard.pm
man/man3/Business::CreditCard.3p man/man3p/Business::CreditCard.3p
@dirrm libdata/perl5/site_perl/Business @dirrm ${P5SITE}/Business

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 2002/05/15 17:58:50 espie Exp $ # $OpenBSD: Makefile,v 1.7 2002/06/08 18:56:34 wilfried Exp $
COMMENT= "base HTML library" COMMENT= "base HTML library"
@ -13,15 +13,22 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= perl
NO_REGRESS= Yes
WRKDIST= ${WRKDIR} WRKDIST= ${WRKDIR}
do-configure:
do-build: do-build:
cd ${WRKSRC} && pod2man html_base.pod HTML::Base.3p cd ${WRKSRC} && pod2man html_base.pod HTML::Base.3p
do-install: do-install:
${INSTALL_DATA_DIR} ${PREFIX}/libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/HTML ${INSTALL_DATA_DIR} ${PREFIX}/${P5ARCH}/HTML
${INSTALL_DATA} ${WRKSRC}/HTML/Base.pm \ ${INSTALL_DATA} ${WRKSRC}/HTML/Base.pm \
${PREFIX}/libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/HTML ${PREFIX}/${P5ARCH}/HTML/
${INSTALL_MAN} ${WRKSRC}/HTML::Base.3p ${PREFIX}/man/man3 ${INSTALL_MAN_DIR} ${PREFIX}/man/man3p/
${INSTALL_MAN} ${WRKSRC}/HTML::Base.3p ${PREFIX}/man/man3p/
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PLIST,v 1.2 2001/05/10 19:20:53 naddy Exp $ @comment $OpenBSD: PLIST,v 1.3 2002/06/08 18:56:35 wilfried Exp $
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/HTML/Base.pm ${P5ARCH}/HTML/Base.pm
man/man3/HTML::Base.3p man/man3p/HTML::Base.3p