# New ports collection makefile for: ljdump # Date created: 11 Jan 2008 # Whom: Alexey Dokuchaev # # $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 PORTSCOUT= skipv:1.5.1 # 1.5.1 is identical to 1.5 + our patches 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