2009-03-25 09:39:40 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2009/03/25 13:39:40 jasper Exp $
|
2004-02-17 15:54:31 -05:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= RSS Aggregator Without Delusions Of Grandeur
|
2004-02-17 15:54:31 -05:00
|
|
|
|
2009-01-03 16:27:25 -05:00
|
|
|
MODPY_EGG_VERSION= 2.10
|
|
|
|
DISTNAME= rawdog-${MODPY_EGG_VERSION}
|
2009-03-25 09:39:40 -04:00
|
|
|
PKGNAME= ${DISTNAME}p2
|
2004-02-17 15:54:31 -05:00
|
|
|
CATEGORIES= www news
|
|
|
|
|
|
|
|
HOMEPAGE= http://offog.org/code/rawdog.html
|
|
|
|
|
2009-01-03 16:27:25 -05:00
|
|
|
# GPLv2, LGPLv2.1
|
2004-02-17 15:54:31 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://offog.org/files/
|
|
|
|
|
2004-08-03 10:14:57 -04:00
|
|
|
MODULES= lang/python
|
2004-02-17 15:54:31 -05:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/rawdog
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/rawdog
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@perl -pi -e \
|
|
|
|
's,/usr/bin/env python,/usr/bin/env python${MODPY_VERSION},g' \
|
|
|
|
${WRKSRC}/rawdog
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/config ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/style.css ${EXAMPLESDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|