From 75ef79e35cb844ff916b541805fbd9c3f067e97c Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 7 Feb 2009 23:06:51 +0000 Subject: Fix path to Perl. DESTDIR support. --- misc/tds/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'misc/tds') 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 -- cgit v1.2.3