From 3d81effabfcbab5f1fe7b559a3b6f6d5f452285e Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 3 Mar 2008 18:25:52 +0000 Subject: Mechanical changes to add DESTDIR support to packages that install their files via a custom do-install target. --- editors/ted-cs/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'editors/ted-cs') diff --git a/editors/ted-cs/Makefile b/editors/ted-cs/Makefile index 2bede250f9e..2b6bbae363e 100644 --- a/editors/ted-cs/Makefile +++ b/editors/ted-cs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/06/08 18:41:20 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2008/03/03 18:25:53 jlam Exp $ DISTNAME= Ted_cs_CZ PKGNAME= ted-cs-2.16 @@ -12,6 +12,8 @@ COMMENT= Czech spelling dictionary for the Ted word processor DEPENDS+= ted>=2.6:../../editors/ted +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} USE_X11BASE= YES @@ -21,6 +23,7 @@ NO_BUILD= YES INSTALLATION_DIRS= share/Ted/ind do-install: - ${INSTALL_DATA} ${WRKSRC}/ind/Czech.ind ${PREFIX}/share/Ted/ind + ${INSTALL_DATA} ${WRKSRC}/ind/Czech.ind \ + ${DESTDIR}${PREFIX}/share/Ted/ind .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3