mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
db6b142e82
Submitted by: Reviewed by: Approved by: Obtained from: MFC after: Fix checksum mismatch problem: the different is the later tarball adds one more file (LW.pm), and the diff of Makefile.pl is: --- ../libwhisker-1.8/Makefile.pl Thu Dec 19 03:39:24 2002 +++ ./Makefile.pl Wed Oct 8 01:38:16 2003 @@ -9,7 +9,7 @@ $|++; -$VERSION = '1.7'; +$VERSION = '1.8'; $LIB = 'LW.pm'; $COMPONENTS = 'libs'; $PRELIB = 'prelib.wpl'; It seems that this is only an errata of release v1.8. Bump PORTREVISION to aware this. maintainer's email was bounced several times, so commit this change directly.
60 lines
1.5 KiB
Makefile
60 lines
1.5 KiB
Makefile
# New ports collection makefile for: libwhisker
|
|
# Date created: 20 September 2002
|
|
# Whom: pandzilla
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libwhisker
|
|
PORTVERSION= 1.8
|
|
PORTREVISION= 1
|
|
CATEGORIES= security perl5
|
|
MASTER_SITES= http://www.wiretrip.net/rfp/${PORTNAME}/
|
|
DISTNAME= ${PORTNAME}-current
|
|
|
|
MAINTAINER= jan@atstake.com
|
|
COMMENT= Perl module to create HTTP test scripts
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
NO_BUILD= yes
|
|
USE_PERL5= yes
|
|
|
|
DOC1= README CHANGES KNOWNBUGS
|
|
DOCS= docs/OPTIMIZE docs/evil.htm docs/whisker_hash.txt
|
|
IMGS= imgs/logo-builton.gif imgs/logo-name.gif imgs/logo-plain.gif
|
|
SCRIPTS= scripts/func2html.pl scripts/prox.pl
|
|
|
|
do-install:
|
|
@cd ${WRKSRC} && ${PERL} ${WRKSRC}/Makefile.pl lib
|
|
@${MKDIR} ${SITE_PERL}/${PORTNAME} && ${CHMOD} 755 ${SITE_PERL}/${PORTNAME}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/LW.pm ${SITE_PERL}/${PORTNAME}/LW.pm
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR} \
|
|
&& ${CHMOD} 755 ${DOCSDIR}
|
|
@${MKDIR} ${DOCSDIR}/docs \
|
|
&& ${CHMOD} 755 ${DOCSDIR}/docs
|
|
@${MKDIR} ${DOCSDIR}/imgs \
|
|
&& ${CHMOD} 755 ${DOCSDIR}/imgs
|
|
@${MKDIR} ${DOCSDIR}/scripts \
|
|
&& ${CHMOD} 755 ${DOCSDIR}/scripts
|
|
.for i in ${DOC1}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.for i in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/docs/
|
|
.endfor
|
|
.for i in ${IMGS}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/imgs/
|
|
.endfor
|
|
.for i in ${SCRIPTS}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${DOCSDIR}/scripts/
|
|
.endfor
|
|
${INSTALL_SCRIPT} ${WRKSRC}/api_demo.pl ${DOCSDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/simple.pl ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|