Sat Feb 7 23:06:51 2009 UTC ()
Fix path to Perl. DESTDIR support.


(joerg)
diff -r1.12 -r1.13 pkgsrc/misc/tds/Makefile

cvs diff -r1.12 -r1.13 pkgsrc/misc/tds/Makefile (expand / switch to unified diff)

--- pkgsrc/misc/tds/Makefile 2005/12/05 20:50:40 1.12
+++ pkgsrc/misc/tds/Makefile 2009/02/07 23:06:51 1.13
@@ -1,22 +1,29 @@ @@ -1,22 +1,29 @@
1# $NetBSD: Makefile,v 1.12 2005/12/05 20:50:40 rillig Exp $ 1# $NetBSD: Makefile,v 1.13 2009/02/07 23:06:51 joerg Exp $
2# 2#
3 3
4DISTNAME= tds-1.4.2 4DISTNAME= tds-1.4.2
5PKGREVISION= 1 5PKGREVISION= 2
6CATEGORIES= misc www japanese 6CATEGORIES= misc www japanese
7MASTER_SITES= http://tds.dive-in.to/dist/stable/ 7MASTER_SITES= http://tds.dive-in.to/dist/stable/
8 8
9MAINTAINER= kei@NetBSD.org 9MAINTAINER= kei@NetBSD.org
10HOMEPAGE= http://tds.dive-in.to/ 10HOMEPAGE= http://tds.dive-in.to/
11COMMENT= Web diary system 11COMMENT= Web diary system
12 12
 13PKG_DESTDIR_SUPPORT= user-destdir
 14
13USE_TOOLS+= perl:run 15USE_TOOLS+= perl:run
14GNU_CONFIGURE= YES 16GNU_CONFIGURE= YES
15CONFIGURE_ENV+= PERL5=${PERL5:Q} 17CONFIGURE_ENV+= PERL5=${PERL5:Q}
16 18
17NO_BUILD= YES 19NO_BUILD= YES
18 20
 21INSTALL_ENV+= installdir=${DESTDIR}
 22
 23REPLACE_PERL+= *.pl */*.pl */*/*.pl web_diary_dir/*.cgi \
 24 web_diary_dir/admin/*.cgi
 25
19post-patch: 26post-patch:
20 @${FIND} ${WRKSRC} -type f -name '*.orig' -print | ${XARGS} ${RM} -f 27 @${FIND} ${WRKSRC} -type f -name '*.orig' -print | ${XARGS} ${RM} -f
21 28
22.include "../../mk/bsd.pkg.mk" 29.include "../../mk/bsd.pkg.mk"