From 3858ad32fd8a6b7315c2e809ef633404cb416f3b Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Wed, 26 Feb 2014 09:01:06 +0000 Subject: [PATCH] Support staging --- sysutils/vlogger/Makefile | 20 ++++++++++---------- sysutils/vlogger/pkg-plist | 1 + 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/sysutils/vlogger/Makefile b/sysutils/vlogger/Makefile index e4a7c965c755..7b5a1d7105ef 100644 --- a/sysutils/vlogger/Makefile +++ b/sysutils/vlogger/Makefile @@ -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 diff --git a/sysutils/vlogger/pkg-plist b/sysutils/vlogger/pkg-plist index 634f407754a2..5e2e35005ef7 100644 --- a/sysutils/vlogger/pkg-plist +++ b/sysutils/vlogger/pkg-plist @@ -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