2003-07-19 04:28:42 +02:00
|
|
|
# New ports collection makefile for: libwhisker
|
|
|
|
# Date created: 20 September 2002
|
|
|
|
# Whom: pandzilla
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libwhisker
|
2010-03-23 03:35:44 +01:00
|
|
|
PORTVERSION= 2.5
|
2003-09-28 23:06:28 +02:00
|
|
|
CATEGORIES= security perl5
|
2003-07-19 04:28:42 +02:00
|
|
|
MASTER_SITES= http://www.wiretrip.net/rfp/${PORTNAME}/
|
2008-08-19 04:55:17 +02:00
|
|
|
DISTNAME= ${PORTNAME}2-${PORTVERSION}
|
2003-07-19 04:28:42 +02:00
|
|
|
|
2007-06-29 18:29:19 +02:00
|
|
|
MAINTAINER= araujo@FreeBSD.org
|
2003-09-28 23:06:28 +02:00
|
|
|
COMMENT= Perl module to create HTTP test scripts
|
|
|
|
|
2007-01-07 12:14:12 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}2-${PORTVERSION}
|
2003-07-19 04:28:42 +02:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
2003-07-21 03:43:30 +02:00
|
|
|
USE_PERL5= yes
|
2003-07-19 04:28:42 +02:00
|
|
|
|
2010-03-23 03:35:44 +01:00
|
|
|
PLIST_FILES= ${SITE_PERL_REL}/LW2.pm
|
2005-02-19 21:31:21 +01:00
|
|
|
|
2007-01-14 18:28:41 +01:00
|
|
|
MAN3= LW2.3pm
|
|
|
|
MANPREFIX= ${LOCALBASE}/lib/perl5/${PERL_VERSION}/perl/
|
|
|
|
|
2005-02-19 21:31:21 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.pl lib
|
2003-07-19 04:28:42 +02:00
|
|
|
|
|
|
|
do-install:
|
2005-02-19 21:31:21 +01:00
|
|
|
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.pl ${INSTALL_TARGET}
|
2010-03-23 03:35:44 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/LW2.pm ${SITE_PERL}
|
2007-01-07 12:14:12 +01:00
|
|
|
@${CHMOD} 444 ${SITE_PERL}/LW2.pm
|
2003-07-19 04:28:42 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2007-01-07 12:14:12 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}/docs ${DOCSDIR}/scripts
|
2005-02-19 21:31:21 +01:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} README CHANGES KNOWNBUGS ${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/docs/ && ${INSTALL_DATA} * ${DOCSDIR}/docs
|
|
|
|
cd ${WRKSRC}/scripts/ && ${INSTALL_SCRIPT} * ${DOCSDIR}/scripts
|
2003-07-19 04:28:42 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|