2013-09-21 00:31:15 +02:00
|
|
|
# Created by: Tim Bishop <tim@bishnet.net>
|
2003-10-08 00:45:07 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= rawdog
|
2014-05-13 18:41:50 +02:00
|
|
|
PORTVERSION= 2.19
|
2003-10-08 00:45:07 +02:00
|
|
|
CATEGORIES= news python
|
2004-11-15 09:52:41 +01:00
|
|
|
MASTER_SITES= http://offog.org/files/ \
|
|
|
|
http://ftp.i-scream.org/pub/offog.org/files/
|
2003-10-08 00:45:07 +02:00
|
|
|
|
2005-12-01 17:50:07 +01:00
|
|
|
MAINTAINER= tdb@FreeBSD.org
|
2003-10-08 00:45:07 +02:00
|
|
|
COMMENT= A simple RSS aggregator
|
|
|
|
|
2013-10-17 17:54:33 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/feedparser.py:${PORTSDIR}/textproc/py-feedparser
|
|
|
|
|
2003-10-08 00:45:07 +02:00
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
2014-05-13 18:41:50 +02:00
|
|
|
NO_ARCH= yes
|
2003-10-08 00:45:07 +02:00
|
|
|
|
2013-10-17 17:54:33 +02:00
|
|
|
PORTDOCS= README
|
|
|
|
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
|
2003-10-08 00:45:07 +02:00
|
|
|
post-install:
|
2013-10-17 17:54:33 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/config ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/style.css ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.if !defined(NOPORTEXAMPLES) || !defined(NOPORTDOCS)
|
|
|
|
@${ECHO_MSG} " ---------------------------------------------" \
|
|
|
|
>>${PKGMESSAGE}
|
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
@${ECHO_MSG} " Sample config and stylesheet installed in:" \
|
|
|
|
>>${PKGMESSAGE}
|
|
|
|
@${ECHO_MSG} " ${EXAMPLESDIR}" >>${PKGMESSAGE}
|
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${ECHO_MSG} " Please read the README:" >>${PKGMESSAGE}
|
|
|
|
@${ECHO_MSG} " ${DOCSDIR}/README" >>${PKGMESSAGE}
|
2003-10-08 00:45:07 +02:00
|
|
|
.endif
|
2013-10-17 17:54:33 +02:00
|
|
|
.if !defined(NOPORTEXAMPLES) || !defined(NOPORTDOCS)
|
|
|
|
@${ECHO_MSG} " ---------------------------------------------" \
|
|
|
|
>>${PKGMESSAGE}
|
2003-10-08 00:45:07 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|