- Remove LATEST_LINK

- Convert to options helpers
- Make COMMENT more concise
This commit is contained in:
Jason E. Hale 2013-10-07 20:17:20 +00:00
parent af818f781e
commit 030b0f6058
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329736

View file

@ -7,38 +7,28 @@ CATEGORIES= misc kde
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}
MAINTAINER= jhale@FreeBSD.org MAINTAINER= jhale@FreeBSD.org
COMMENT= Recipe database for KDE4 COMMENT= KDE4 recipe database
LICENSE= GPLv2 LICENSE= GPLv2
LATEST_LINK= ${PORTNAME}-kde4
OPTIONS_MULTI= DB
OPTIONS_MULTI_DB= SQLITE MYSQL PGSQL
OPTIONS_DEFAULT= SQLITE
USES= cmake gettext USES= cmake gettext
USE_QT4= moc_build qmake_build rcc_build uic_build USE_QT4= moc_build qmake_build rcc_build uic_build
USE_KDE4= automoc4 kdeprefix kdelibs qimageblitz sharedmime USE_KDE4= automoc4 kdeprefix kdelibs qimageblitz sharedmime
NO_STAGE= yes NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSQLITE} OPTIONS_MULTI= DB
USE_SQLITE= yes OPTIONS_MULTI_DB= SQLITE MYSQL PGSQL
USE_QT4+= sql-sqlite3_run OPTIONS_DEFAULT= SQLITE
.else
CMAKE_ARGS+= -DWITH_Sqlite:BOOL=OFF
.endif
.if ${PORT_OPTIONS:MMYSQL} SQLITE_USE= SQLITE=yes \
USE_MYSQL= yes QT4=sql-sqlite3_run
USE_QT4+= sql-mysql_run SQLITE_CMAKE_OFF= -DWITH_Sqlite:BOOL=OFF
.endif
.if ${PORT_OPTIONS:MPGSQL} MYSQL_USE= MYSQL=yes \
USE_PGSQL= yes QT4=sql-mysql_run
USE_QT4+= sql-pgsql_run
.endif PGSQL_USE= PGSQL=yes \
QT4=sql-pgsql_run
.include <bsd.port.mk> .include <bsd.port.mk>