aboutsummaryrefslogtreecommitdiff
path: root/sysutils/philesight
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2009-02-11 19:29:47 +0000
committerStanislav Sedov <stas@FreeBSD.org>2009-02-11 19:29:47 +0000
commitf1a3af0a9e650c38e4a9ca458b2186b63c3f137b (patch)
treef395e7533fe69b4bc717dfe497348336802ca357 /sysutils/philesight
parent2fad09ecd3be4afbc1227b739da949c604f9c83c (diff)
downloadports-f1a3af0a9e650c38e4a9ca458b2186b63c3f137b.tar.gz
ports-f1a3af0a9e650c38e4a9ca458b2186b63c3f137b.zip
Notes
Diffstat (limited to 'sysutils/philesight')
-rw-r--r--sysutils/philesight/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysutils/philesight/Makefile b/sysutils/philesight/Makefile
index b1834b268ba0..9c2fafd3154f 100644
--- a/sysutils/philesight/Makefile
+++ b/sysutils/philesight/Makefile
@@ -7,6 +7,7 @@
PORTNAME= philesight
PORTVERSION= 20090105
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://zevv.nl/play/code/philesight/
EXTRACT_SUFX= .tgz
@@ -21,9 +22,12 @@ USE_RUBY= yes
NO_BUILD= yes
RUBY_SHEBANG_FILES= ${PORTNAME} ${PORTNAME}.rb ${PORTNAME}.cgi
-PORTEXAMPLES= ${PORTNAME}.cgi
PLIST_FILES= bin/${PORTNAME} ${RUBY_SITELIBDIR:C,^${PREFIX}/?,,}/${PORTNAME}.rb
+.if !defined(NOPORTEXAMPLES)
+PORTEXAMPLES= ${PORTNAME}.cgi
+.endif
+
.include <bsd.port.pre.mk>
.if ${RUBY_VER} == 1.9
@@ -34,7 +38,7 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.rb ${RUBY_SITELIBDIR}/
-.if !defined(WITHOUT_EXAMPLES)
+.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}/
. for FILE in ${PORTEXAMPLES}
${INSTALL_SCRIPT} ${WRKSRC}/${FILE} ${EXAMPLESDIR}/