mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
31 lines
736 B
Makefile
31 lines
736 B
Makefile
# 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>
|