summaryrefslogtreecommitdiff
path: root/net
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
commit528ab9028910fda2727e3fca5b2d2b93dc55227f (patch)
treebc79c73eb50a92c03ecb4f129de487b107823470 /net
parenta81b8764bd09b1bd4cf34ab6dd52232dc930697e (diff)
downloadpkgsrc-528ab9028910fda2727e3fca5b2d2b93dc55227f.tar.gz
Unbreak after changes to scotty. Add user-destdir support.
Diffstat (limited to 'net')
-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"