summaryrefslogtreecommitdiffstats
path: root/www/ljsm/Makefile
blob: a0c6026284eaa9e21e3000b30c17f1f4ab763247 (plain)
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:    ljsm
# Date created:                         12 Aug 2004
# Whom:                                 ache
#
# $FreeBSD$
#

PORTNAME=	ljsm
PORTVERSION=	2.9
CATEGORIES=	www perl5 deskutils
MASTER_SITES=	http://www.offtopia.net/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}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib

PLIST_FILES=	bin/ljsm
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}/ljsm.pl

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud