aboutsummaryrefslogtreecommitdiff
path: root/graphics/digikam-kde4
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2014-05-26 22:15:31 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2014-05-26 22:15:31 +0000
commit911fb043b042860f2e1cf4eaa53c271891ece208 (patch)
tree1c3ca3ef6ce72f4a45b292226e9c1e76c8b7bfa4 /graphics/digikam-kde4
parente33bc48d5ef53819df562d638f8ebce377ddde27 (diff)
Makefile.common: Move a few other variables outside the NO_BUILD block.
Just setting USES=tar:bzip2 is not enough, as ports such as graphics/kipi-plugin-facebook would still report an invalid distfile if NO_BUILD was passed. We now unconditionally set DISTNAME, DISTINFO_FILE and LICENSE besides USES.
Notes
Notes: svn path=/head/; revision=355461
Diffstat (limited to 'graphics/digikam-kde4')
-rw-r--r--graphics/digikam-kde4/Makefile.common9
1 files changed, 4 insertions, 5 deletions
diff --git a/graphics/digikam-kde4/Makefile.common b/graphics/digikam-kde4/Makefile.common
index d63a017c2618..efdce7c56310 100644
--- a/graphics/digikam-kde4/Makefile.common
+++ b/graphics/digikam-kde4/Makefile.common
@@ -110,21 +110,20 @@ vkontakte_DESC= Export images to VKontakte web service
# wallpaper_DESC= Set image as background on desktop
yandexfotki_DESC= Export images to Yandex web service
-USES+= tar:bzip2
-
-.if !defined(NO_BUILD)
DISTNAME= digikam-${DIGIKAM_VER}
+DISTINFO_FILE= ${.CURDIR}/../../graphics/digikam-kde4/distinfo
LICENSE?= GPLv2
+USES+= tar:bzip2
+
+.if !defined(NO_BUILD)
USES+= cmake
USE_KDE4+= automoc4 kdehier kdeprefix kdelibs
USE_QT4+= qmake_build moc_build rcc_build uic_build
WRKSRC?= ${WRKDIR}/${DISTNAME}/extra/${PORTNAME}
-DISTINFO_FILE= ${.CURDIR}/../../graphics/digikam-kde4/distinfo
-
. if defined(KIPI_PLUGIN)
CONFLICTS_INSTALL= kipi-plugins-2.*