mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
- Add LICENSE
- Add NO_ARCH - Switch to options helpers - Cosmetic fixes
This commit is contained in:
parent
be1ddad1fd
commit
fe9f124720
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408377
@ -10,20 +10,17 @@ MASTER_SITES= SF
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Perl IRC Statistics Generator
|
||||
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= perl5 shebangfix
|
||||
SHEBANG_FILES= pisg
|
||||
NO_BUILD= YES
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFINE= LOGCHARSET DOCS
|
||||
LOGCHARSET_DESC= Character set for logfiles
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MLOGCHARSET}
|
||||
RUN_DEPENDS+= p5-Text-Iconv>=0:${PORTSDIR}/converters/p5-Text-Iconv
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
LOGCHARSET_RUN_DEPENDS= p5-Text-Iconv>=0:${PORTSDIR}/converters/p5-Text-Iconv
|
||||
|
||||
pre-patch:
|
||||
@${REINPLACE_CMD} -e 's|lang.txt|${PREFIX}/share/pisg/lang.txt|; \
|
||||
@ -31,10 +28,10 @@ pre-patch:
|
||||
${WRKSRC}/modules/Pisg.pm
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/pisg
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/layout
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}/gfx
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Pisg/Parser/Format
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/pisg
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/layout
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/gfx
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Pisg/Parser/Format
|
||||
${INSTALL_DATA} ${WRKSRC}/pisg.cfg ${STAGEDIR}${PREFIX}/etc/pisg/pisg.cfg.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/gfx/* ${STAGEDIR}${DATADIR}/gfx
|
||||
${INSTALL_DATA} ${WRKSRC}/layout/* ${STAGEDIR}${DATADIR}/layout
|
||||
@ -44,8 +41,9 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/modules/Pisg/Parser/*.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Pisg/Parser
|
||||
${INSTALL_DATA} ${WRKSRC}/modules/Pisg/Parser/Format/*.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Pisg/Parser/Format
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/pisg ${STAGEDIR}${PREFIX}/bin
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/pisg-doc.txt ${STAGEDIR}${DOCSDIR}/pisg-doc.txt
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user