summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-11-11 19:17:11 +0000
committerjoerg <joerg@pkgsrc.org>2011-11-11 19:17:11 +0000
commitae92af7d7c24ae33312967c3aad01367ef42edef (patch)
treebc79c73eb50a92c03ecb4f129de487b107823470
parent37bae27f6583af114ada612a13be5e7640bd23e6 (diff)
downloadpkgsrc-ae92af7d7c24ae33312967c3aad01367ef42edef.tar.gz
Unbreak after changes to scotty. Add user-destdir support.
-rw-r--r--net/tkined/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/net/tkined/Makefile b/net/tkined/Makefile
index bd1bd1203ee..02d5c8c84f9 100644
--- a/net/tkined/Makefile
+++ b/net/tkined/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2009/08/20 15:24:59 jwise Exp $
+# $NetBSD: Makefile,v 1.20 2011/11/11 19:17:11 joerg Exp $
#
DISTNAME= scotty-2.1.11
@@ -12,8 +12,8 @@ HOMEPAGE= http://www.nosuchname.net/scotty/
COMMENT= Graphical network discovery and monitoring tool based on scotty
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
-WRKSRC= ${WRKDIR}/${DISTNAME}/unix
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-tcl-config=${BUILDLINK_PREFIX.tcl}/lib \
--with-tk-config=${BUILDLINK_PREFIX.tk}/lib \
@@ -28,14 +28,15 @@ PATCHDIR= ${.CURDIR}/../../net/tcl-scotty/patches
INSTALLATION_DIRS= ${PKGMANDIR}/man1
+CONFIGURE_DIRS= unix
+BUILD_DIRS= unix
+INSTALL_TARGET= tki-install
+
.include "../../net/tcl-scotty/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
-do-install:
- @cd ${WRKSRC} && ${MAKE_ENV} ${MAKE} tki-install
- ${INSTALL_DATA} ${WRKSRC}/../doc/tkined.1 ${PREFIX}/${PKGMANDIR}/man1
-
post-install:
- cd ${PREFIX}/bin && ${LN} -f -s tkined1.4.11 tkined
+ ${LN} -f -s tkined1.4.11 ${DESTDIR}${PREFIX}/bin/tkined
+ ${INSTALL_DATA} ${WRKSRC}/doc/tkined.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"