2014-05-30 01:35:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 2014/05/29 23:35:37 wiz Exp $
|
2006-01-18 23:53:18 +01:00
|
|
|
|
2014-04-06 16:05:14 +02:00
|
|
|
DISTNAME= libwhisker2-2.5
|
2014-05-30 01:35:13 +02:00
|
|
|
PKGREVISION= 1
|
2006-01-18 23:53:18 +01:00
|
|
|
CATEGORIES= devel
|
2014-04-06 16:05:14 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=whisker/}
|
2006-01-18 23:53:18 +01:00
|
|
|
|
2009-07-17 20:00:13 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2014-04-06 16:05:14 +02:00
|
|
|
HOMEPAGE= http://sourceforge.net/projects/whisker/
|
2006-01-18 23:53:18 +01:00
|
|
|
COMMENT= Perl module geared specifically for HTTP testing
|
2014-04-06 16:05:14 +02:00
|
|
|
LICENSE= 2-clause-bsd
|
2006-01-18 23:53:18 +01:00
|
|
|
|
|
|
|
DEPENDS+= p5-Net-SSLeay>=1.20:../../security/p5-Net-SSLeay
|
|
|
|
|
2006-07-08 00:10:06 +02:00
|
|
|
USE_TOOLS+= perl:run
|
2006-01-18 23:53:18 +01:00
|
|
|
REPLACE_PERL= scripts/api_demo.pl scripts/crawl_demo.pl \
|
|
|
|
scripts/simple_demo.pl scripts/form_demo1.pl \
|
|
|
|
scripts/form_demo2.pl scripts/prox.pl
|
|
|
|
|
2014-04-06 16:05:14 +02:00
|
|
|
INSTALLATION_DIRS+= libdata/${PKGBASE} share/doc/${PKGBASE}
|
|
|
|
INSTALLATION_DIRS+= share/examples/${PKGBASE}
|
|
|
|
|
2006-01-18 23:53:18 +01:00
|
|
|
do-build:
|
2014-04-06 16:05:14 +02:00
|
|
|
cd ${WRKSRC} && ${PERL5} Makefile.pl lib
|
2006-01-18 23:53:18 +01:00
|
|
|
|
|
|
|
do-install:
|
2014-04-06 16:05:14 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.txt \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.gif \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/KNOWNBUGS \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/LW2.pm \
|
|
|
|
${DESTDIR}${PREFIX}/libdata/${PKGBASE}
|
2006-01-18 23:53:18 +01:00
|
|
|
|
|
|
|
. for f in ${REPLACE_PERL}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${f} \
|
2014-04-06 16:05:14 +02:00
|
|
|
${DESTDIR}${PREFIX}/share/examples/${PKGBASE}
|
2006-01-18 23:53:18 +01:00
|
|
|
. endfor
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|