pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/tds Fix path to Perl. DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d3f4d3f6420
branches:  trunk
changeset: 554075:4d3f4d3f6420
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Feb 07 23:06:51 2009 +0000

description:
Fix path to Perl. DESTDIR support.

diffstat:

 misc/tds/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 64786e34bffe -r 4d3f4d3f6420 misc/tds/Makefile
--- a/misc/tds/Makefile Sat Feb 07 22:57:49 2009 +0000
+++ b/misc/tds/Makefile Sat Feb 07 23:06:51 2009 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index