From ae92af7d7c24ae33312967c3aad01367ef42edef Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 11 Nov 2011 19:17:11 +0000 Subject: Unbreak after changes to scotty. Add user-destdir support. --- net/tkined/Makefile | 15 ++++++++------- 1 file 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" -- cgit v1.2.3