summaryrefslogtreecommitdiff
path: root/editors/ted-pl
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 18:25:52 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 18:25:52 +0000
commit80c7fb273d8e710ea174cde389ccea199e8a754b (patch)
tree94991d2182e36c43f4a6dac0f35a6023230a4d45 /editors/ted-pl
parent38c8b857b2a15de072b4fa8baf0650634b5be996 (diff)
downloadpkgsrc-80c7fb273d8e710ea174cde389ccea199e8a754b.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'editors/ted-pl')
-rw-r--r--editors/ted-pl/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/editors/ted-pl/Makefile b/editors/ted-pl/Makefile
index 9a5d428bbf9..115e15dda34 100644
--- a/editors/ted-pl/Makefile
+++ b/editors/ted-pl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2007/06/08 18:41:22 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/03 18:25:53 jlam Exp $
DISTNAME= Ted_pl_PL
PKGNAME= ted-pl-2.16
@@ -12,6 +12,8 @@ COMMENT= Polish spelling dictionary for the Ted word processor
DEPENDS+= ted>=2.6:../../editors/ted
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
USE_X11BASE= YES
@@ -30,8 +32,10 @@ post-patch:
>>${WRKSRC}/usr/lib/X11/pl_PL/app-defaults/Ted
do-install:
- ${INSTALL_DATA} ${WRKSRC}/ind/Polish.ind ${PREFIX}/share/Ted/ind
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/app-defaults/pl_PL
- ${INSTALL_DATA} ${WRKSRC}/usr/lib/X11/pl_PL/app-defaults/Ted ${PREFIX}/lib/X11/app-defaults/pl_PL/
+ ${INSTALL_DATA} ${WRKSRC}/ind/Polish.ind \
+ ${DESTDIR}${PREFIX}/share/Ted/ind
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/X11/app-defaults/pl_PL
+ ${INSTALL_DATA} ${WRKSRC}/usr/lib/X11/pl_PL/app-defaults/Ted \
+ ${DESTDIR}${PREFIX}/lib/X11/app-defaults/pl_PL/
.include "../../mk/bsd.pkg.mk"