mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
Support staging
This commit is contained in:
parent
02abbf0c5b
commit
3858ad32fd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346153
@ -13,19 +13,19 @@ LICENSE= GPLv2
|
||||
|
||||
RUN_DEPENDS= p5-DBI>=0:${PORTSDIR}/databases/p5-DBI
|
||||
|
||||
USES= perl5
|
||||
USES= perl5 shebangfix
|
||||
NO_BUILD= yes
|
||||
|
||||
MAN1= ${PORTNAME}.1
|
||||
SHEBANG_FILES= vlogger
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${EXAMPLESDIR} ${DATADIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-dbi.conf ${EXAMPLESDIR}/${PORTNAME}-dbi.conf
|
||||
@${INSTALL_DATA} ${WRKSRC}/mysql_create.sql ${DATADIR}/mysql_create.sql
|
||||
@${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1/${MAN1}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-dbi.conf \
|
||||
${STAGEDIR}${EXAMPLESDIR}/${PORTNAME}-dbi.conf
|
||||
${INSTALL_DATA} ${WRKSRC}/mysql_create.sql ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,6 @@
|
||||
bin/vlogger
|
||||
share/examples/vlogger/vlogger-dbi.conf
|
||||
share/vlogger/mysql_create.sql
|
||||
man/man1/vlogger.1.gz
|
||||
@dirrmtry share/examples/vlogger
|
||||
@dirrmtry share/vlogger
|
||||
|
Loading…
Reference in New Issue
Block a user