aboutsummaryrefslogtreecommitdiff
path: root/devel/kdesdk3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/kdesdk3/Makefile')
-rw-r--r--devel/kdesdk3/Makefile40
1 files changed, 14 insertions, 26 deletions
diff --git a/devel/kdesdk3/Makefile b/devel/kdesdk3/Makefile
index 5b5180b3222f..f94657ed1c16 100644
--- a/devel/kdesdk3/Makefile
+++ b/devel/kdesdk3/Makefile
@@ -6,7 +6,8 @@
#
PORTNAME= kdesdk
-PORTVERSION= 2.2.2
+PORTVERSION= 3.0
+PORTREVISION= 1
CATEGORIES= devel kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
@@ -14,36 +15,23 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
-BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
- automake14:${PORTSDIR}/devel/automake14
LIB_DEPENDS= db2.0:${PORTSDIR}/databases/db
-USE_KDEBASE_VER=2
-USE_BZIP2= yes
+USE_KDEBASE_VER=3
GNU_CONFIGURE= yes
-
-.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500029
-_NO_KDE_OBJPRELINK=yes
+CONFIGURE_TARGET=
+CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+USE_BZIP2= yes
+.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
-
-.include "${.CURDIR}/../../x11/kde2/Makefile.kde"
-
USE_GMAKE= yes
INSTALLS_SHLIB= yes
-LDCONFIG_DIRS= %%PREFIX%%/lib %%PREFIX%%/lib/kde2
-
-MAN1= cvs2pack.1 cvschanged.1 cvsversion.1 noncvslist.1 kde-build.1
+LDCONFIG_DIRS= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
-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=${WRKSRC}/auto-bin:$$PATH \
- ${GMAKE} -f Makefile.cvs
+MAN1= cvs2pack.1 cvsversion.1 noncvslist.1 kde-build.1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>