- Add global options (DOCS, NLS, etc) to the OPTIONS_DEFINE if it's

already defined
- Remove OPTIONS_DEFINE, if it contains only global options
This commit is contained in:
Max Brazhnikov 2013-03-25 13:59:18 +00:00
parent 52db30d1fc
commit 792213815d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315222
7 changed files with 6 additions and 8 deletions

View file

@ -30,7 +30,7 @@ DESKTOP_ENTRIES= "QDevelop" \
"Development;IDE;Qt;" \
"false"
OPTIONS_DEFINE= TOOLS
OPTIONS_DEFINE= TOOLS DOCS NLS
OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
TOOLS_DESC= Install Qt4 dev. tools (qmake, moc, etc.)

View file

@ -30,7 +30,7 @@ USE_DOS2UNIX= fixed_class.h
MANCOMPRESSED= no
MAN6= warmux.6
OPTIONS_DEFINE= FRIBIDI SERVER
OPTIONS_DEFINE= FRIBIDI SERVER NLS
FRIBIDI_DESC= Enable bi-directional unicode support
SERVER_DESC= Enable dedicated server

View file

@ -16,7 +16,7 @@ USE_XORG= x11 xext
GNU_CONFIGURE= yes
USE_GMAKE= yes
OPTIONS_DEFINE= GTK2 PTHREAD
OPTIONS_DEFINE= GTK2 PTHREAD NLS
GTK2_DESC= GTK+ User Interface (experimental)
PTHREAD_DESC= Enable SMP support (experimental)

View file

@ -33,7 +33,7 @@ DESKTOP_ENTRIES="QtiPlot" "Data analysis and plotting" \
"${DATADIR}/qtiplot.png" \
"qtiplot" "" false
OPTIONS_DEFINE= DOCS PYTHON
OPTIONS_DEFINE= DOCS PYTHON NLS
OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
DOCS_DESC= Install the QtiPlot Handbook

View file

@ -22,8 +22,6 @@ LRELEASE= ${LOCALBASE}/bin/lrelease-qt4
STRIP_FILES= bin/minitube
OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}

View file

@ -73,7 +73,7 @@ FILES4FIX= Makefile.in \
ui/setupform.py \
ui4/devmgr5.py
OPTIONS_DEFINE= QT FAX SNMP SCAN XSANE
OPTIONS_DEFINE= QT FAX SNMP SCAN XSANE DOCS
OPTIONS_DEFAULT= QT
QT_DESC= Graphical User Interface (Qt4)

View file

@ -20,7 +20,7 @@ USE_DOS2UNIX= qstardict.pri
DICPATH= ${LOCALBASE}/share/stardict/dic
OPTIONS_DEFINE= DBUS
OPTIONS_DEFINE= DBUS DOCS NLS
OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
.include <bsd.port.options.mk>