aboutsummaryrefslogtreecommitdiffstats
path: root/www/ljsm/Makefile
blob: 66b648bdd5d4da024cee77e3448462d2d8218425 (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
31
32
33
34
35
36
37
38
# New ports collection makefile for:    ljsm
# Date created:                         12 Aug 2004
# Whom:                                 ache
#
# $FreeBSD$
#

PORTNAME=   ljsm
PORTVERSION=    2.5
CATEGORIES= www perl5
MASTER_SITES=   http://www.offtopia.net/~ati/ljsm/ \
        http://ryzh.kiev.ua/ljsm/
EXTRACT_SUFX=   .zip

MAINTAINER= ports@freebsd.org
COMMENT=    Livejournal.com postings recusive copy utility

RUN_DEPENDS=    ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
        ${SITE_PERL}/HTML/SimpleLinkExtor.pm:${PORTSDIR}/www/p5-HTML-SimpleLinkExtor \
        ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
        ${SITE_PERL}/Unicode/MapUTF8.pm:${PORTSDIR}/converters/p5-Unicode-MapUTF8

PLIST_FILES=    bin/ljsm
NO_WRKSUBDIR=   yes
USE_ZIP=    yes
USE_PERL5_RUN=  yes
USE_REINPLACE=  yes
NO_BUILD=   yes

EXTRACT_BEFORE_ARGS= -qoaa

do-configure:
    @${REINPLACE_CMD} -e 's|^#!perl|#!${PERL}|' ${WRKSRC}/ljsm.pl

do-install:
    cd ${WRKSRC} && ${INSTALL_SCRIPT} ljsm.pl ${PREFIX}/bin/ljsm

.include <bsd.port.mk>