openbsd-ports/www/rawdog/Makefile
2004-11-21 10:24:36 +00:00

42 lines
927 B
Makefile

# $OpenBSD: Makefile,v 1.10 2004/11/21 10:24:36 xsa Exp $
COMMENT= "RSS Aggregator Without Delusions Of Grandeur"
DISTNAME= rawdog-2.0
CATEGORIES= www news
HOMEPAGE= http://offog.org/code/rawdog.html
MAINTAINER= Xavier Santolaria <xsa@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://offog.org/files/
MODULES= lang/python
RUN_DEPENDS= ${MODPY_EXPAT_DEPENDS}
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>