mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
dcc5f1aa94
necessary fixes on them for the past months.
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# Created by: pandzilla
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libwhisker
|
|
PORTVERSION= 2.5
|
|
CATEGORIES= security perl5
|
|
MASTER_SITES= http://www.wiretrip.net/rfp/${PORTNAME}/
|
|
DISTNAME= ${PORTNAME}2-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Perl module to create HTTP test scripts
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}2-${PORTVERSION}
|
|
|
|
NO_BUILD= yes
|
|
USES= perl5
|
|
|
|
PLIST_FILES= ${SITE_PERL_REL}/LW2.pm
|
|
|
|
MAN3= LW2.3pm
|
|
MANPREFIX= ${LOCALBASE}/lib/perl5/${PERL_VER}/perl/
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= *
|
|
.endif
|
|
|
|
NO_STAGE= yes
|
|
do-configure:
|
|
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.pl lib
|
|
|
|
do-install:
|
|
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.pl ${INSTALL_TARGET}
|
|
@${INSTALL_DATA} ${WRKSRC}/LW2.pm ${SITE_PERL}
|
|
@${CHMOD} 444 ${SITE_PERL}/LW2.pm
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}/docs ${DOCSDIR}/scripts
|
|
cd ${WRKSRC} && ${INSTALL_DATA} README CHANGES KNOWNBUGS ${DOCSDIR}
|
|
cd ${WRKSRC}/docs/ && ${INSTALL_DATA} * ${DOCSDIR}/docs
|
|
cd ${WRKSRC}/scripts/ && ${INSTALL_SCRIPT} * ${DOCSDIR}/scripts
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|