aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-26 09:01:06 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-26 09:01:06 +0000
commit3858ad32fd8a6b7315c2e809ef633404cb416f3b (patch)
treea59cf3420766627289264d64d197b287016effdf /sysutils
parent02abbf0c5b99b28fcc85be5954261ab4784c7f1f (diff)
downloadports-3858ad32fd8a6b7315c2e809ef633404cb416f3b.tar.gz
ports-3858ad32fd8a6b7315c2e809ef633404cb416f3b.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/vlogger/Makefile20
-rw-r--r--sysutils/vlogger/pkg-plist1
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
-NO_STAGE= yes
-do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
+OPTIONS_DEFINE= EXAMPLES
-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}
+do-install:
+ ${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>
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