aboutsummaryrefslogtreecommitdiff
path: root/www/encode-explorer
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-03-07 16:53:45 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-03-07 16:53:45 +0000
commitb7df0651651ef059fd4db24d7b77113e72ad6c15 (patch)
treee492c56fa7379da1ca224d6c3b1e9a31bdf1f7d9 /www/encode-explorer
parentf391ca611e4a642fc3b0e7df30f4a60b63f60b71 (diff)
downloadports-b7df0651651ef059fd4db24d7b77113e72ad6c15.tar.gz
ports-b7df0651651ef059fd4db24d7b77113e72ad6c15.zip
- Convert to OptionsNG
- Trim header Reviewed by: bapt
Notes
Notes: svn path=/head/; revision=313599
Diffstat (limited to 'www/encode-explorer')
-rw-r--r--www/encode-explorer/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/www/encode-explorer/Makefile b/www/encode-explorer/Makefile
index a68a82cd04ef..30439d657aae 100644
--- a/www/encode-explorer/Makefile
+++ b/www/encode-explorer/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: encode-explorer
-# Date created: Thu Apr 22 11:24:23 CEST 2010
-# Whom: Frank Wall <fw@moov.de>
-#
+# Created by: Frank Wall <fw@moov.de>
# $FreeBSD$
-#
PORTNAME= encode
PORTVERSION= 5.0
@@ -21,15 +17,16 @@ WANT_PHP_WEB= yes
USE_ZIP= yes
NO_BUILD= yes
-OPTIONS= EXPERIMENTAL "Enable experimental features" off
+OPTIONS_DEFINE= EXPERIMENTAL
+EXPERIMENTAL_DESC= Experimental features
WRKSRC= ${WRKDIR}/${DISTNAME}
WWWDIR= ${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_EXPERIMENTAL)
+.if ${PORT_OPTIONS:MEXPERIMENTAL}
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-index-php-experimental
.endif
@@ -43,4 +40,4 @@ post-install:
${CP} ${WRKSRC}/README.txt ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>