freebsd-ports/www/rssdler/Makefile

32 lines
797 B
Makefile
Raw Normal View History

# New ports collection makefile for: rssdler
# Date created: 02 May 2010
# Whom: Anonymous <swell.k@gmail.com>
#
# $FreeBSD$
#
PORTNAME= rssdler
PORTVERSION= 0.4.2
CATEGORIES= www
MASTER_SITES= GOOGLE_CODE
MAINTAINER= swell.k@gmail.com
COMMENT= Automatically grab link elements of an RSS feed
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=4.1:${PORTSDIR}/textproc/py-feedparser
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=4.1:${PORTSDIR}/textproc/py-feedparser
USE_PYTHON= yes
USE_PYDISTUTILS=yes
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g}
OPTIONS= MECHANIZE "Retrieve pages with mechanize" On
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_MECHANIZE)
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mechanize>=0.2:${PORTSDIR}/www/py-mechanize
.endif
.include <bsd.port.post.mk>