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