summaryrefslogtreecommitdiff
path: root/devel/kscope
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-29 19:05:18 +0000
committerjoerg <joerg>2010-01-29 19:05:18 +0000
commitafae6227216edb768913947c81f77c61dc8db344 (patch)
tree2038a39f36fc03ee06727f0a51df59cdd2320819 /devel/kscope
parent5d06770e2b070ac306c4f6654a1cc2783ab7d527 (diff)
downloadpkgsrc-afae6227216edb768913947c81f77c61dc8db344.tar.gz
DESTDIR support
Diffstat (limited to 'devel/kscope')
-rw-r--r--devel/kscope/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/kscope/Makefile b/devel/kscope/Makefile
index ef3a0082ea5..eedb9ab077b 100644
--- a/devel/kscope/Makefile
+++ b/devel/kscope/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2010/01/18 09:58:46 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2010/01/29 19:05:18 joerg Exp $
#
DISTNAME= kscope-1.6.0
@@ -10,6 +10,8 @@ MAINTAINER= martijn.van.buul@gmail.com
HOMEPAGE= http://kscope.sourceforge.net/
COMMENT= KDE frontend for cscope
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= cscope>=15.6:../../devel/cscope
DEPENDS+= exctags>=5.5.4:../../devel/exctags
@@ -19,12 +21,14 @@ USE_TOOLS+= gmake flex pkg-config
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
+INSTALLATION_DIRS+= ${KDEDIR}/share/kde/config
+
post-build:
sed -e "s,@LOCALBASE@,${LOCALBASE},g" \
${FILESDIR}/kscoperc > ${WRKDIR}/kscoperc
pre-install:
- ${INSTALL_DATA} ${WRKDIR}/kscoperc ${KDEDIR}/share/kde/config
+ ${INSTALL_DATA} ${WRKDIR}/kscoperc ${DESTDIR}${KDEDIR}/share/kde/config
.include "../../meta-pkgs/kde3/kde3.mk"