freebsd-ports/www/w3mir/Makefile
Ying-Chieh Liao c634b4bb83 utilize SITE_PERL
PR:		58166
Submitted by:	Cheng-Lung Sung <clsung@dragon2.net>
2003-10-24 12:05:09 +00:00

34 lines
873 B
Makefile

# New ports collection makefile for: w3mir
# Date created: 9 May 1998
# Whom: ache
#
# $FreeBSD$
#
PORTNAME= w3mir
PORTVERSION= 1.0.10
CATEGORIES= www perl5
MASTER_SITES= http://langfeldt.net/w3mir/
MAINTAINER= ache@freebsd.org
COMMENT= All-purpose HTTP copying and mirroring tool
BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww
USE_PERL5= yes
MAN1= w3mir.1 w3mfix.1
do-configure:
@ cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ${PERL} Makefile.PL PREFIX=${PREFIX} \
INSTALLMAN1DIR=${PREFIX}/man/man1 \
INSTALLSCRIPT=${PREFIX}/bin
post-install:
${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \
${PREFIX}/share/doc/w3mir
cd ${WRKSRC} && ${INSTALL_DATA} \
README Artistic w3mir-HOWTO.html example.cfg \
multiscope.cfg ${PREFIX}/share/doc/w3mir
.include <bsd.port.mk>