summaryrefslogtreecommitdiff
path: root/converters/tex2rtf
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 05:51:07 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 05:51:07 +0000
commit43112f64cf453f5e24fc1a811650c98f7db2fe76 (patch)
tree4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/tex2rtf
parent3b34772d7f8c87aaf463b2f9127224a7d6490225 (diff)
downloadpkgsrc-43112f64cf453f5e24fc1a811650c98f7db2fe76.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'converters/tex2rtf')
-rw-r--r--converters/tex2rtf/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/converters/tex2rtf/Makefile b/converters/tex2rtf/Makefile
index 15608a94948..fea76c62a48 100644
--- a/converters/tex2rtf/Makefile
+++ b/converters/tex2rtf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2006/12/15 14:34:19 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2008/03/03 05:51:08 jlam Exp $
DISTNAME= tex2rtf-2.01-source
PKGNAME= tex2rtf-2.01
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.wxwidgets.org/tex2rtf/index.htm
COMMENT= LaTex-to-RTF translator
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${DISTNAME}/src
MAKE_FILE= makefile.unx
USE_LANGUAGES= c++
@@ -20,7 +22,7 @@ post-patch:
${CP} ${FILESDIR}/stringmatch.* ${WRKSRC}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tex2rtf ${PREFIX}/bin/tex2rtf
+ ${INSTALL_PROGRAM} ${WRKSRC}/tex2rtf ${DESTDIR}${PREFIX}/bin/tex2rtf
.include "../../x11/wxGTK/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"