aboutsummaryrefslogtreecommitdiff
path: root/graphics/kphotoalbum-kde4/Makefile
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-06-01 22:04:36 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-06-01 22:04:36 +0000
commit2976341d6196e791ced202295479ce73566257f6 (patch)
tree676db839ad5c5b480c9b824e6361e161d2c0c5eb /graphics/kphotoalbum-kde4/Makefile
parent8395980496c139c9423b87ec4eba765458783e1e (diff)
downloadports-2976341d6196e791ced202295479ce73566257f6.tar.gz
ports-2976341d6196e791ced202295479ce73566257f6.zip
Notes
Diffstat (limited to 'graphics/kphotoalbum-kde4/Makefile')
-rw-r--r--graphics/kphotoalbum-kde4/Makefile58
1 files changed, 38 insertions, 20 deletions
diff --git a/graphics/kphotoalbum-kde4/Makefile b/graphics/kphotoalbum-kde4/Makefile
index e6dc0c74b726..2bd768034545 100644
--- a/graphics/kphotoalbum-kde4/Makefile
+++ b/graphics/kphotoalbum-kde4/Makefile
@@ -4,25 +4,43 @@
#
# $FreeBSD$
-PORTNAME= kphotoalbum
-PORTVERSION= 3.1.1
-PORTREVISION= 7
-CATEGORIES= graphics kde
-MASTER_SITES= http://www.kphotoalbum.org/data/download/
-
-MAINTAINER= markus@FreeBSD.org
-COMMENT= Image database for KDE
-
-LIB_DEPENDS= kipi.2:${PORTSDIR}/graphics/libkipi \
- exiv2.7:${PORTSDIR}/graphics/exiv2 \
- kdcraw.4:${PORTSDIR}/graphics/libkdcraw
-
-USE_KDELIBS_VER= 3
-USE_BZIP2= yes
-USE_GMAKE= yes
-USE_AUTOTOOLS= libtool:22
-
-post-patch:
- @${REINPLACE_CMD} -e 's/-O2//g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+PORTNAME= kphotoalbum
+PORTVERSION= ${APP_VER}.${EXTRA_VER}
+CATEGORIES= graphics kde
+MASTER_SITES= ${MASTER_SITE_KDE}
+MASTER_SITE_SUBDIR= stable/${EXTRA_VER}/src/extragear
+DISTNAME= ${PORTNAME}-${APP_VER}-kde${EXTRA_VER}
+DIST_SUBDIR= KDE/extragear
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Image viewer and organizer for KDE
+
+LIB_DEPENDS= kipi.7:${PORTSDIR}/graphics/kdegraphics4
+
+USE_BZIP2= yes
+USE_KDE4= kdelibs kdeprefix kdehier automoc4
+USE_QT_VER= 4
+QT_COMPONENTS= qmake_build moc_build rcc_build uic_build
+USE_CMAKE= yes
+MAKE_JOBS_SAFE= yes
+
+LATEST_LINK= ${PORTNAME}-kde4
+
+APP_VER= 4.1.1
+EXTRA_VER= 4.4.0
+
+OPTIONS= MARBLE "Geolocation support (requires astro/marble)" off
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_MARBLE)
+LIB_DEPENDS+= marblewidget.5:${PORTSDIR}/astro/marble
+.endif
+
+pre-configure:
+.if !defined(WITH_MARBLE)
+ ${REINPLACE_CMD} -e '/macro_optional_find_package(Marble)/d' \
+ ${WRKSRC}/CMakeLists.txt
+.endif
.include <bsd.port.mk>