aboutsummaryrefslogtreecommitdiffstats
path: root/www/w3mir/Makefile
blob: 97cf1c415b79f373aafd43f0bdf72fb1aebd8959 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: ache
# $FreeBSD$

PORTNAME=   w3mir
PORTVERSION=    1.0.10
PORTREVISION=   2
CATEGORIES= www perl5
MASTER_SITES=   http://langfeldt.net/w3mir/

MAINTAINER= ports@FreeBSD.org
COMMENT=    All-purpose HTTP copying and mirroring tool

LICENSE=    ART10

BUILD_DEPENDS=  p5-libwww>=0:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS:=   ${BUILD_DEPENDS}

USES=       perl5
USE_PERL5=  configure

INSTALL_TARGET= pure_install

post-install:
    ${INSTALL} -d -m 755 \
        ${STAGEDIR}${PREFIX}/share/doc/w3mir
    cd ${WRKSRC} && ${INSTALL_DATA} \
        README Artistic w3mir-HOWTO.html example.cfg \
        multiscope.cfg ${STAGEDIR}${PREFIX}/share/doc/w3mir

.include <bsd.port.mk>