From 030b0f605803021b9c9a912a073f12adb54e7c2f Mon Sep 17 00:00:00 2001 From: "Jason E. Hale" Date: Mon, 7 Oct 2013 20:17:20 +0000 Subject: [PATCH] - Remove LATEST_LINK - Convert to options helpers - Make COMMENT more concise --- misc/krecipes-kde4/Makefile | 34 ++++++++++++---------------------- 1 file changed, 12 insertions(+), 22 deletions(-) diff --git a/misc/krecipes-kde4/Makefile b/misc/krecipes-kde4/Makefile index c47b4abf8cdd..d07fe811f45b 100644 --- a/misc/krecipes-kde4/Makefile +++ b/misc/krecipes-kde4/Makefile @@ -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 -.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