aboutsummaryrefslogtreecommitdiffstats
path: root/www/ljdump/Makefile
blob: 56b670c5d29dc1e053109786758a4f29e245db85 (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.2
CATEGORIES= www python
MASTER_SITES=   http://hewgill.com/software/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>