summaryrefslogtreecommitdiff
path: root/misc/tds
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-07 23:06:51 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-07 23:06:51 +0000
commit75ef79e35cb844ff916b541805fbd9c3f067e97c (patch)
treed15245a2783eb54f6db5d33a6130721a9b3af9e5 /misc/tds
parent1c4a110eb1f554f6cfc12c2d7b3d8310dbabb831 (diff)
downloadpkgsrc-75ef79e35cb844ff916b541805fbd9c3f067e97c.tar.gz
Fix path to Perl. DESTDIR support.
Diffstat (limited to 'misc/tds')
-rw-r--r--misc/tds/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/misc/tds/Makefile b/misc/tds/Makefile
index 0b936223b91..4a576000da3 100644
--- a/misc/tds/Makefile
+++ b/misc/tds/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2005/12/05 20:50:40 rillig Exp $
+# $NetBSD: Makefile,v 1.13 2009/02/07 23:06:51 joerg Exp $
#
DISTNAME= tds-1.4.2
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= misc www japanese
MASTER_SITES= http://tds.dive-in.to/dist/stable/
@@ -10,12 +10,19 @@ MAINTAINER= kei@NetBSD.org
HOMEPAGE= http://tds.dive-in.to/
COMMENT= Web diary system
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= perl:run
GNU_CONFIGURE= YES
CONFIGURE_ENV+= PERL5=${PERL5:Q}
NO_BUILD= YES
+INSTALL_ENV+= installdir=${DESTDIR}
+
+REPLACE_PERL+= *.pl */*.pl */*/*.pl web_diary_dir/*.cgi \
+ web_diary_dir/admin/*.cgi
+
post-patch:
@${FIND} ${WRKSRC} -type f -name '*.orig' -print | ${XARGS} ${RM} -f