summaryrefslogtreecommitdiff
path: root/x11-clocks/kdetoys3
diff options
context:
space:
mode:
Diffstat (limited to 'x11-clocks/kdetoys3')
-rw-r--r--x11-clocks/kdetoys3/Makefile27
-rw-r--r--x11-clocks/kdetoys3/distinfo2
-rw-r--r--x11-clocks/kdetoys3/pkg-plist2
3 files changed, 26 insertions, 5 deletions
diff --git a/x11-clocks/kdetoys3/Makefile b/x11-clocks/kdetoys3/Makefile
index c4af328004b6..f96cfa75a64f 100644
--- a/x11-clocks/kdetoys3/Makefile
+++ b/x11-clocks/kdetoys3/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= kdetoys
-PORTVERSION= 2.2.1
+PORTVERSION= 2.2.2
CATEGORIES= x11-clocks kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
@@ -14,11 +14,32 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
+BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
+ automake14:${PORTSDIR}/devel/automake14 \
+ objprelink:${PORTSDIR}/devel/objprelink
+
USE_KDELIBS_VER=2
MOC?= ${X11BASE}/bin/moc2
USE_BZIP2= yes
-USE_AUTOCONF= yes
-CONFIGURE_ARGS+=--with-qt-dir=${X11BASE}
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} --enable-objprelink
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_FINAL)
+CONFIGURE_ARGS+=--enable-final
+.endif
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_NDEBUG)
+CONFIGURE_ARGS+=--disable-debug
+.endif
USE_GMAKE= yes
+pre-configure:
+ ${MKDIR} ${WRKSRC}/auto-bin
+.for AC in autoconf autoheader
+ ${LN} -sf ${LOCALBASE}/bin/${AC}213 ${WRKSRC}/auto-bin/${AC}
+.endfor
+.for AM in automake aclocal
+ ${LN} -sf ${LOCALBASE}/bin/${AM}14 ${WRKSRC}/auto-bin/${AM}
+.endfor
+ cd ${WRKSRC} && env PATH=$$PATH:${WRKSRC}/auto-bin \
+ ${GMAKE} -f Makefile.cvs
+
.include <bsd.port.mk>
diff --git a/x11-clocks/kdetoys3/distinfo b/x11-clocks/kdetoys3/distinfo
index b32b658436f6..71fb19eab148 100644
--- a/x11-clocks/kdetoys3/distinfo
+++ b/x11-clocks/kdetoys3/distinfo
@@ -1 +1 @@
-MD5 (KDE/kdetoys-2.2.1.tar.bz2) = a106df7cbd681d2ef06185ee633d9de6
+MD5 (KDE/kdetoys-2.2.2.tar.bz2) = 67a90e965301997dc909229f643de22d
diff --git a/x11-clocks/kdetoys3/pkg-plist b/x11-clocks/kdetoys3/pkg-plist
index 0f92726741ef..0be24e947d69 100644
--- a/x11-clocks/kdetoys3/pkg-plist
+++ b/x11-clocks/kdetoys3/pkg-plist
@@ -531,7 +531,6 @@ share/icons/locolor/32x32/apps/ktux.png
@dirrm share/icons/locolor
@dirrm share/icons/hicolor/48x48/apps
@dirrm share/icons/hicolor/32x32/apps
-@dirrm share/icons/hicolor/16x16/apps
@dirrm share/doc/HTML/en/kworldclock
@dirrm share/doc/HTML/en/kteatime
@dirrm share/doc/HTML/en/kscore
@@ -564,3 +563,4 @@ share/icons/locolor/32x32/apps/ktux.png
@dirrm share/applnk/Toys
@dirrm share/applnk/System/ScreenSavers
@dirrm share/applnk/System
+@dirrm share/applnk