summaryrefslogtreecommitdiff
path: root/misc/tds/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tds/Makefile')
-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