aboutsummaryrefslogtreecommitdiffstats
path: root/www/ljpms/Makefile
blob: 3d548743e5039b07ded527132edab42b137c7b26 (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
# New ports collection makefile for:    ljpms
# Date created:                         12 Aug 2004
# Whom:                                 ache
#
# $FreeBSD$
#

PORTNAME=   ljpms
PORTVERSION=    1.2
CATEGORIES= www perl5 deskutils
MASTER_SITES=   http://ljsm.feechki.org/
DISTFILES=  ljpms-1_2.zip

MAINTAINER= ache@freebsd.org
COMMENT=    Livejournal.com postings mass-restore and permissions utility

RUN_DEPENDS=    ${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple \
        ${SITE_PERL}/SOAP/Lite.pm:${PORTSDIR}/net/p5-SOAP-Lite

PLIST_FILES=    bin/ljpms
NO_WRKSUBDIR=   yes
USE_ZIP=    yes
USE_PERL5_RUN=  yes
NO_BUILD=   yes

EXTRACT_BEFORE_ARGS= -qoaa

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

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

.include <bsd.port.mk>