aboutsummaryrefslogtreecommitdiffstats
path: root/www/ljdump/Makefile
blob: f7f50637e7e6b7b756aab878c68b4268d6db41c9 (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
# New ports collection makefile for:    ljdump
# Date created:             11 Jan 2008
# Whom:                 Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   ljdump
PORTVERSION=    1.5
CATEGORIES= www python
MASTER_SITES=   http://hewgill.com/ljdump/ \
        http://freebsd.nsu.ru/distfiles/

MAINTAINER= danfe@FreeBSD.org
COMMENT=    Tool to download LiveJournal entries and comments

NO_BUILD=   yes
USE_PYTHON_RUN= yes

PLIST_FILES=    bin/ljdump etc/ljdump.config.sample

post-patch:
    @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE}, ; \
        s,%%PREFIX%%,${PREFIX},' ${WRKSRC}/ljdump.py

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/ljdump.py ${PREFIX}/bin/ljdump
    ${INSTALL_DATA} ${WRKSRC}/ljdump.config.sample ${PREFIX}/etc

.include <bsd.port.mk>