summaryrefslogtreecommitdiff
path: root/devel/kdevelop-base/Makefile
diff options
context:
space:
mode:
authorskrll <skrll>2003-07-03 13:17:24 +0000
committerskrll <skrll>2003-07-03 13:17:24 +0000
commit8af904393d061c03c1b44cd9997c6923ea5ddd5b (patch)
tree47c56090c8cc38a1c131af6349723c8db512a7fe /devel/kdevelop-base/Makefile
parentf48704c42ca0eeb6716a28ed0f6c9b59a586614d (diff)
downloadpkgsrc-8af904393d061c03c1b44cd9997c6923ea5ddd5b.tar.gz
Fix some templates to work with the (newer) automake that comes with
pkgsrc. Fixes PR 21989 from Rene Schickbauer.
Diffstat (limited to 'devel/kdevelop-base/Makefile')
-rw-r--r--devel/kdevelop-base/Makefile27
1 files changed, 25 insertions, 2 deletions
diff --git a/devel/kdevelop-base/Makefile b/devel/kdevelop-base/Makefile
index b3a3516c7c5..80349520a86 100644
--- a/devel/kdevelop-base/Makefile
+++ b/devel/kdevelop-base/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.19 2003/05/02 11:54:33 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2003/07/03 13:17:24 skrll Exp $
DISTNAME= kdevelop-2.1.5_for_KDE_3.1
PKGNAME= kdevelop-base-2.1.5
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel kde
MASTER_SITES= ftp://ftp.kde.org/pub/kde/stable/kdevelop-2.1.5/src/ \
@@ -11,6 +11,22 @@ MASTER_SITES= ftp://ftp.kde.org/pub/kde/stable/kdevelop-2.1.5/src/ \
HOMEPAGE= http://www.kdevelop.org/
COMMENT= Base modules for IDE for Unix/X11/KDE
+KDEVELOP_SRCS= ${DISTNAME}${EXTRACT_SUFX}
+DISTFILES= ${KDEVELOP_SRCS}
+EXTRACT_ONLY= ${KDEVELOP_SRCS}
+
+KDEVELOP_TEMPLATES= \
+ gnome \
+ qextmdi \
+ qt2 \
+ qtmdi
+
+.for template in ${KDEVELOP_TEMPLATES}
+DISTFILES+= template-${template}-20030702.tar.gz
+
+SITES_template-${template}-20030702.tar.gz= ${MASTER_SITE_LOCAL:=kdevelop/}
+.endfor
+
.include "../../x11/kde3/Makefile.kde3"
BUILD_USES_MSGFMT= yes
@@ -28,6 +44,13 @@ CONFLICTS+= kdevelop<=1.3
USE_PERL5= yes
+post-extract:
+.for template in ${KDEVELOP_TEMPLATES}
+ ${RM} -f ${WRKSRC}/kdevelop/templates/${template}.tar.gz
+ ${CP} ${DISTDIR}/template-${template}-20030702.tar.gz \
+ ${WRKSRC}/kdevelop/templates/${template}.tar.gz
+.endfor
+
REPLACE_PERL= \
kdevelop/tools/processesend.pl \
kdevelop/tools/processes.pl.in