- Switch to USES=gmake.

- Add staging support.
- Do not mute install commands.
This commit is contained in:
Jimmy Olgeni 2013-11-07 15:09:17 +00:00
parent 39d5bdb3e6
commit 86abbd834d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333114
2 changed files with 6 additions and 9 deletions

View file

@ -13,19 +13,15 @@ BUILD_DEPENDS= p5-HTML-Template>=0:${PORTSDIR}/www/p5-HTML-Template \
p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey \
p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
USE_GMAKE= yes
USES= perl5
USES= gmake perl5
CONFIGURE_ARGS+=--datadir=${DATADIR}
MAN1= postgresql_autodoc.1
WRKSRC= ${WRKDIR}/postgresql_autodoc
NO_STAGE= yes
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/postgresql_autodoc ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/postgresql_autodoc.1 ${MANPREFIX}/man/man1
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/*.tmpl ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/postgresql_autodoc ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/postgresql_autodoc.1 ${STAGEDIR}${MANPREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.tmpl ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>

View file

@ -1,4 +1,5 @@
bin/postgresql_autodoc
man/man1/postgresql_autodoc.1.gz
%%DATADIR%%/dia.tmpl
%%DATADIR%%/dot.tmpl
%%DATADIR%%/html.tmpl