1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/security/libwhisker/Makefile
Yen-Ming Lee 5732b6c095 - older versions of 1.8 incorrectly identify themselves as 1.7 [1]
- Utilize PORTDOCS and PLIST_FILES

PR:		[1] 77702
Submitted by:	Sam Lawrance <boris at brooknet.com.au>
2005-02-19 20:31:21 +00:00

44 lines
1.0 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}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl module to create HTTP test scripts
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_BUILD= yes
USE_PERL5= yes
PLIST_FILES= ${SITE_PERL_REL}/LW.pm
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.pl lib
do-install:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.pl ${INSTALL_TARGET}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/docs ${DOCSDIR}/imgs ${DOCSDIR}/scripts
cd ${WRKSRC} && ${INSTALL_DATA} README CHANGES KNOWNBUGS ${DOCSDIR}
cd ${WRKSRC}/docs/ && ${INSTALL_DATA} * ${DOCSDIR}/docs
cd ${WRKSRC}/imgs/ && ${INSTALL_DATA} * ${DOCSDIR}/imgs
cd ${WRKSRC}/scripts/ && ${INSTALL_SCRIPT} * ${DOCSDIR}/scripts
.endif
.include <bsd.port.mk>