aboutsummaryrefslogtreecommitdiffstats
path: root/net/ksamba/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/ksamba/Makefile')
-rw-r--r--net/ksamba/Makefile27
1 files changed, 17 insertions, 10 deletions
diff --git a/net/ksamba/Makefile b/net/ksamba/Makefile
index a37672d9382c..8be924f7e433 100644
--- a/net/ksamba/Makefile
+++ b/net/ksamba/Makefile
@@ -6,20 +6,27 @@
#
PORTNAME= ksamba
-PORTVERSION= 0.3.3
+PORTVERSION= 0.3.4
CATEGORIES= net kde
-MASTER_SITES= $(MASTER_SITE_KDE)
-MASTER_SITE_SUBDIR= unstable/apps/network
+MASTER_SITES= ${MASTER_SITE_KDE} \
+ http://www.kneschke.de/projekte/ksamba/download/
+MASTER_SITE_SUBDIR= unstable/apps/network
-LIB_DEPENDS= kdecore.3:${PORTSDIR}/x11/kdelibs11 \
- kdeui.3:${PORTSDIR}/x11/kdelibs11 \
- kfm.3:${PORTSDIR}/x11/kdelibs11 \
- kfile.3:${PORTSDIR}/x11/kdelibs11
+BUILD_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext
+LIB_DEPENDS= kdecore.3:${PORTSDIR}/x11/kdelibs11
USE_QT= yes
-GNU_CONFIGURE= yes
USE_GMAKE= yes
-CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" \
- INSTALL_SCRIPT="install -c -m 555"
+USE_AUTOMAKE= yes
+CONFIGURE_ENV= QTDIR="${X11BASE}" KDEDIR="${LOCALBASE}" \
+ MOC="${X11BASE}/bin/moc"
+CONFIGURE_ARGS= --with-qt-includes=${X11BASE}/include/X11/qt
+
+post-extract:
+ @${RM} -f ${WRKSRC}/config.cache
+ @${RM} -f ${WRKSRC}/ksamba/*.moc
+
+post-patch:
+ @cd ${WRKSRC} && aclocal
.include <bsd.port.mk>