summaryrefslogtreecommitdiff
path: root/misc/tds
diff options
context:
space:
mode:
authorjoerg <joerg>2009-02-07 23:06:51 +0000
committerjoerg <joerg>2009-02-07 23:06:51 +0000
commit94e6494832156c842322a110f79e0436cd783316 (patch)
treed15245a2783eb54f6db5d33a6130721a9b3af9e5 /misc/tds
parentccc515a9c6fcef9f980d257dafc597e5d3a967df (diff)
downloadpkgsrc-94e6494832156c842322a110f79e0436cd783316.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