summaryrefslogtreecommitdiff
path: root/comms/tkhylafax
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-29 16:38:20 +0000
committerjoerg <joerg>2010-01-29 16:38:20 +0000
commit2eabcc474d9e634d398aff503d16de461d7343b3 (patch)
treec5592002161b235d4d01da9b26c529c239082947 /comms/tkhylafax
parent9f9b9507875f2daa04fa89bd75efaa024ab0a519 (diff)
downloadpkgsrc-2eabcc474d9e634d398aff503d16de461d7343b3.tar.gz
DESTDIR support
Diffstat (limited to 'comms/tkhylafax')
-rw-r--r--comms/tkhylafax/Makefile6
-rw-r--r--comms/tkhylafax/distinfo4
-rw-r--r--comms/tkhylafax/patches/patch-aa8
3 files changed, 11 insertions, 7 deletions
diff --git a/comms/tkhylafax/Makefile b/comms/tkhylafax/Makefile
index 2eaac59e37d..7c4b63d80b1 100644
--- a/comms/tkhylafax/Makefile
+++ b/comms/tkhylafax/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2007/12/01 23:48:41 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2010/01/29 16:39:49 joerg Exp $
DISTNAME= tkhylafax-3.1
PKGREVISION= 4
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.elgro.demon.co.uk/resources.html
COMMENT= Tcl/tk interface to Sam Leffler's fax package
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= gv>=3.5.8nb1:../../print/gv
DEPENDS+= hylafax>=4.1:../../comms/hylafax
DEPENDS+= tk>=8.3.2:../../x11/tk
@@ -19,4 +21,6 @@ WRKSRC= ${WRKDIR}/tkhylafax
NO_CONFIGURE= yes
NO_BUILD= yes
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1
+
.include "../../mk/bsd.pkg.mk"
diff --git a/comms/tkhylafax/distinfo b/comms/tkhylafax/distinfo
index 3fc05633fc7..cfd83be863d 100644
--- a/comms/tkhylafax/distinfo
+++ b/comms/tkhylafax/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 16:05:31 agc Exp $
+$NetBSD: distinfo,v 1.4 2010/01/29 16:39:49 joerg Exp $
SHA1 (tkhylafax-3.1.tar.gz) = d26dae62369c1421fbfd27785c0af0a1a4f174d1
RMD160 (tkhylafax-3.1.tar.gz) = d89207bfa630ae09866be8a73039f05c62251c3f
Size (tkhylafax-3.1.tar.gz) = 26696 bytes
-SHA1 (patch-aa) = 52ec8fc2fcd0b065c1623878962bfe8404335ceb
+SHA1 (patch-aa) = 22d9f34518f0087077e0f43335b0d6866c4e0a6b
SHA1 (patch-ab) = 5e0603062d97086fd0df469eb838c8f6342839c6
diff --git a/comms/tkhylafax/patches/patch-aa b/comms/tkhylafax/patches/patch-aa
index b688416372f..64497bb2019 100644
--- a/comms/tkhylafax/patches/patch-aa
+++ b/comms/tkhylafax/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2000/08/31 23:21:44 jwise Exp $
+$NetBSD: patch-aa,v 1.4 2010/01/29 16:39:49 joerg Exp $
--- Makefile.orig Sun Jan 4 23:47:29 1998
+++ Makefile Tue Dec 29 18:38:29 1998
@@ -5,19 +5,19 @@
@@ -6,15 +6,15 @@ $NetBSD: patch-aa,v 1.3 2000/08/31 23:21:44 jwise Exp $
### EDIT THE NEXT FIVE LINES ONLY ###
# The directory where the tkhylafax library will be installed
-TCLLIB_DEST = /usr/local/lib/tkhylafax-3.1
-+TCLLIB_DEST = ${PREFIX}/share/tkhylafax-3.1
++TCLLIB_DEST = ${DESTDIR}${PREFIX}/share/tkhylafax-3.1
# The directory where the tkhylafax command will be installed
-TCLPRG_DEST = /usr/local/bin
-+TCLPRG_DEST = ${PREFIX}/bin
++TCLPRG_DEST = ${DESTDIR}${PREFIX}/bin
# The directory where the man page will be installed
-TCLMAN_DEST = /usr/local/man/man1
-+TCLMAN_DEST = ${PREFIX}/man/man1
++TCLMAN_DEST = ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
# The full path to tclsh
-TCLSH = /usr/local/bin/tclsh