aboutsummaryrefslogtreecommitdiff
path: root/emulators/vboxtool/Makefile
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2013-01-16 19:45:12 +0000
committerPawel Pekala <pawel@FreeBSD.org>2013-01-16 19:45:12 +0000
commit0747e019f29e412995c74c7cea7b34563c1e924b (patch)
tree60097adcf36440ee154ac27076d826dbdf89b924 /emulators/vboxtool/Makefile
parent9d84f7f209609596983b657ce174936c8a3cdd02 (diff)
downloadports-0747e019f29e412995c74c7cea7b34563c1e924b.tar.gz
ports-0747e019f29e412995c74c7cea7b34563c1e924b.zip
Notes
Diffstat (limited to 'emulators/vboxtool/Makefile')
-rw-r--r--emulators/vboxtool/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/emulators/vboxtool/Makefile b/emulators/vboxtool/Makefile
index df610fc21b03..51abbdbb456c 100644
--- a/emulators/vboxtool/Makefile
+++ b/emulators/vboxtool/Makefile
@@ -1,12 +1,9 @@
-# New ports collection makefile for: oneko
-# Date created: 14 December 2012
-# Whom: pjm
-#
+# Created by: pjm
# $FreeBSD$
-#
PORTNAME= vboxtool
PORTVERSION= 0.5
+PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= SF
@@ -27,6 +24,12 @@ USE_ZIP= yes
SAMPLESDIR= ${PREFIX}/share/${PORTNAME}
+post-patch:
+ @${REINPLACE_CMD} -e 's|!/bin/bash|!/usr/bin/env bash|' \
+ -e 's|/etc/|${PREFIX}&|g' \
+ ${WRKSRC}/script/vboxtool \
+ ${WRKSRC}/script/vboxtoolinit
+
do-install:
@if [ ! -f ${PREFIX}/etc/${PORTNAME} ]; then \
${MKDIR} ${PREFIX}/etc/${PORTNAME};\