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