aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kde4-baseapps/Makefile
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2002-10-11 08:00:00 +0800
committeralane <alane@FreeBSD.org>2002-10-11 08:00:00 +0800
commitbd88280449ee559ab57385fc9aa946982fcf8040 (patch)
tree134dcd58ad31525f9f9e9d38bf069776f27bfa08 /x11/kde4-baseapps/Makefile
parent7989861b79ce6a9e448a8dc6b66a5e5601fc2080 (diff)
downloadfreebsd-ports-gnome-bd88280449ee559ab57385fc9aa946982fcf8040.tar.gz
freebsd-ports-gnome-bd88280449ee559ab57385fc9aa946982fcf8040.tar.zst
freebsd-ports-gnome-bd88280449ee559ab57385fc9aa946982fcf8040.zip
1. Remove QT warning from kde3. It's been there long enough.
2. This is 3.0.4, folks. 3. Added extra patch files for backport of keramik.
Diffstat (limited to 'x11/kde4-baseapps/Makefile')
-rw-r--r--x11/kde4-baseapps/Makefile36
1 files changed, 32 insertions, 4 deletions
diff --git a/x11/kde4-baseapps/Makefile b/x11/kde4-baseapps/Makefile
index 9898a07be82e..9b379205ee6b 100644
--- a/x11/kde4-baseapps/Makefile
+++ b/x11/kde4-baseapps/Makefile
@@ -6,11 +6,16 @@
#
PORTNAME= kdebase
-PORTVERSION= ${KDE_VERSION}
+PORTVERSION= ${KDE_DIST_VERSION}
+PORTREVISION= 0
CATEGORIES?= x11 kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
+MASTER_SITES= ${MASTER_SITE_KDE_kde} \
+ ${MASTER_SITE_LOCAL_keramik}
+MASTER_SITE_SUBDIR= stable/${KDE_VERSION}/src
+DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.bz2:kde \
+ ${PORTNAME}-keramik-${KERAMIK_DATE}.tar.bz2:keramik
DIST_SUBDIR= KDE
+EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}.tar.bz2
MAINTAINER?= kde@FreeBSD.org
@@ -25,6 +30,9 @@ CONFIGURE_ENV+= RUN_KAPPFINDER=no
CONFIGURE_ARGS+=--with-xdmdir=${X11BASE}/lib/X11/xdm \
--without-ldap --disable-closure
USE_GMAKE= yes
+KERAMIK_DATE= 20021008.1942
+
+MASTER_SITE_LOCAL_keramik=${MASTER_SITE_LOCAL:S@%SUBDIR%/@alane/:keramik@g}
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
@@ -58,14 +66,30 @@ post-extract:
@${ECHO} "#!/bin/sh" > ${WRKSRC}/mkpamserv
@${ECHO} "exit 0" >> ${WRKSRC}/mkpamserv
+.if !defined(WITHOUT_KERAMIK)
+WITH_KERAMIK= yes
+.endif # !defined(WITHOUT_KERAMIK)
+
+.if defined(WITH_KERAMIK)
+PLIST_SUB+= KERAMIK=""
+KERAMIK_TARBALL=${PORTNAME}-keramik-${KERAMIK_DATE}.tar.bz2
+pre-patch:
+ @cd ${WRKSRC};\
+ ${BZCAT} ${DISTDIR}/${DIST_SUBDIR}/${KERAMIK_TARBALL} | ${TAR} xf -;\
+ ${CAT} ${FILESDIR}/keramik-patch-* | ${PATCH} ${PATCH_ARGS}
+.else
+PLIST_SUB+= KERAMIK="@comment "
+.endif # !defined(WITH_KERAMIK)
+
post-patch:
@${PERL} -pi -e "s@Exec=ee@Exec=ElectricEyes@g" \
${WRKSRC}/kappfinder/apps/Graphics/ElectricEyes.desktop
-.if ${MACHINE_ARCH} == "alpha"
pre-configure:
+.if ${MACHINE_ARCH} == "alpha"
${PERL} -pi -e "s@-O2@-O@g" ${WRKSRC}/admin/acinclude.m4.in
.endif
+ cd ${WRKSRC}; ${GMAKE} -f Makefile.cvs
post-configure:
${PERL} -pi -e "s@444@644@g" ${WRKSRC}/kdesktop/init/Templates/Makefile
@@ -74,5 +98,9 @@ post-install:
${CHMOD} u+s ${PREFIX}/bin/kcheckpass
${CHGRP} kmem ${PREFIX}/bin/ksysguardd && \
${CHMOD} g+s ${PREFIX}/bin/ksysguardd
+.if defined(WITH_KERAMIK)
+ @if test -f ${PKGMESSAGE}; then \
+ ${ECHO}; ${CAT} ${PKGMESSAGE}; ${ECHO}; fi
+.endif # defined(WITH_KERAMIK)
.include <bsd.port.post.mk>