diff options
author | joerg <joerg@pkgsrc.org> | 2009-02-07 23:06:51 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-02-07 23:06:51 +0000 |
commit | 75ef79e35cb844ff916b541805fbd9c3f067e97c (patch) | |
tree | d15245a2783eb54f6db5d33a6130721a9b3af9e5 /misc/tds | |
parent | 1c4a110eb1f554f6cfc12c2d7b3d8310dbabb831 (diff) | |
download | pkgsrc-75ef79e35cb844ff916b541805fbd9c3f067e97c.tar.gz |
Fix path to Perl. DESTDIR support.
Diffstat (limited to 'misc/tds')
-rw-r--r-- | misc/tds/Makefile | 11 |
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 |