diff options
author | beat <beat@FreeBSD.org> | 2012-10-05 23:02:43 +0800 |
---|---|---|
committer | beat <beat@FreeBSD.org> | 2012-10-05 23:02:43 +0800 |
commit | d45c3861eec13475d36a0dcd077d2c123c52f024 (patch) | |
tree | e763ddf9056af761224bb746fa64db2fcf10f9a7 /www | |
parent | 5a1bc3924bc6cf324f9e739a1ed978182c97ae8f (diff) | |
download | freebsd-ports-gnome-d45c3861eec13475d36a0dcd077d2c123c52f024.tar.gz freebsd-ports-gnome-d45c3861eec13475d36a0dcd077d2c123c52f024.tar.zst freebsd-ports-gnome-d45c3861eec13475d36a0dcd077d2c123c52f024.zip |
- Convert to optionsng
- Trim Makefile header
Diffstat (limited to 'www')
-rw-r--r-- | www/fluxcms/Makefile | 9 | ||||
-rw-r--r-- | www/linkchecker/Makefile | 15 |
2 files changed, 7 insertions, 17 deletions
diff --git a/www/fluxcms/Makefile b/www/fluxcms/Makefile index 525cc55d4dc0..4a95c710adbc 100644 --- a/www/fluxcms/Makefile +++ b/www/fluxcms/Makefile @@ -1,9 +1,4 @@ -# New ports collection makefile for: fluxcms -# Date created: 31 December 2005 -# Whom: beat -# # $FreeBSD$ -# PORTNAME= fluxcms PORTVERSION= 1.6.0 @@ -25,7 +20,7 @@ PLIST_SUB= INSTALLDIR=${FLUXCMSDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} SUB_FILES= pkg-deinstall pkg-message SUB_LIST= INSTALLDIR=${INSTALLDIR} -OPTIONS= TIDY "Configure with tidy support" off +OPTIONS_DEFINE= TIDY USE_PHP= dom xml simplexml iconv mysql xsl session pcre gd @@ -36,7 +31,7 @@ PKGDEINSTALL= ${WRKDIR}/pkg-deinstall .include <bsd.port.pre.mk> -.if defined(WITH_TIDY) +.if ${PORT_OPTIONS:MTIDY} USE_PHP+= tidy .endif diff --git a/www/linkchecker/Makefile b/www/linkchecker/Makefile index c36723d283f5..2274b85473a0 100644 --- a/www/linkchecker/Makefile +++ b/www/linkchecker/Makefile @@ -1,10 +1,5 @@ -# ex:ts=8 -# Ports collection makefile for: linkchecker -# Date created: Oct 17, 2003 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= linkchecker PORTVERSION= 6.6 @@ -18,7 +13,7 @@ COMMENT= Check HTML documents for broken links RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cssutils>=0.9.5:${PORTSDIR}/www/py-cssutils \ ${PYTHON_PKGNAMEPREFIX}utidy>=0.2:${PORTSDIR}/www/py-utidy -OPTIONS= GUI "Install GUI frontend dependencies" off +OPTIONS_DEFINE= GUI NLS LICENSE= GPLv2 @@ -33,14 +28,14 @@ MAN5= linkcheckerrc.5 .include <bsd.port.options.mk> -.if defined(WITH_GUI) +.if ${PORT_OPTIONS:MGUI} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}qt4-core>=${PYQT_VERSION}:${PORTSDIR}/devel/py-qt4-core \ ${PYTHON_PKGNAMEPREFIX}qt4-gui>=${PYQT_VERSION}:${PORTSDIR}/x11-toolkits/py-qt4-gui \ ${PYTHON_PKGNAMEPREFIX}qt4-help>=${PYQT4_VERSION}:${PORTSDIR}/devel/py-qt4-help \ ${PYTHON_PKGNAMEPREFIX}qt4-qscintilla2>=${QSCI2_VERSION}:${PORTSDIR}/devel/py-qt4-qscintilla2 .endif -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} MANLANG= "" de USE_GETTEXT= yes PLIST_SUB+= NLS="" @@ -49,7 +44,7 @@ PLIST_SUB+= NLS="@comment " .endif post-patch: -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} @cd ${WRKSRC} && ${PATCH} --quiet < ${FILESDIR}/nls-patch-setup.py .else @${RM} ${WRKSRC}/po/*.po |