summaryrefslogtreecommitdiff
path: root/textproc/tex2page
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 20:37:28 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 20:37:28 +0000
commit0bf9df4f5153c9a3006f7a6fa4c58ddb7703aefa (patch)
treef96d15a8039540eed195681886d31849d5e3e89f /textproc/tex2page
parent9b266ecc4db6eb120886c42cd93146ad69c21024 (diff)
downloadpkgsrc-0bf9df4f5153c9a3006f7a6fa4c58ddb7703aefa.tar.gz
user-destdir support
Diffstat (limited to 'textproc/tex2page')
-rw-r--r--textproc/tex2page/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/textproc/tex2page/Makefile b/textproc/tex2page/Makefile
index d76a94a9165..82dfbf14283 100644
--- a/textproc/tex2page/Makefile
+++ b/textproc/tex2page/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2009/05/20 00:58:28 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2009/07/07 20:37:28 joerg Exp $
#
DISTNAME= tex2page
@@ -12,6 +12,8 @@ MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://www.ccs.neu.edu/home/dorai/tex2page/
COMMENT= Converts TeX manuscripts into (HTML) web pages
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
USE_PKGLOCALEDIR= yes
@@ -25,10 +27,11 @@ do-build:
(cd ${WRKSRC} && ./my-tex2page tex2page-doc)
(cd ${WRKSRC} && ./my-tex2page tex2page-doc)
+INSTALLATION_DIRS= bin share/doc//tex2page
+
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/my-tex2page ${PREFIX}/bin/tex2page
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc//tex2page
- ${INSTALL} ${WRKSRC}/*.html ${WRKSRC}/*.gif ${PREFIX}/share/doc//tex2page
+ ${INSTALL_SCRIPT} ${WRKSRC}/my-tex2page ${DESTDIR}${PREFIX}/bin/tex2page
+ ${INSTALL} ${WRKSRC}/*.html ${WRKSRC}/*.gif ${DESTDIR}${PREFIX}/share/doc//tex2page
.include "../../graphics/netpbm/buildlink3.mk"
.include "../../lang/guile16/buildlink3.mk"