d6195c119a
While here, update PLISTs, some WANTLIBs, some license markers and use MODPY_EGG_VERSION where it may help to keep future PLIST diffs smaller. help, nitpicking and ok jasper@, ok wcmaier@ note that print/py-reportlab/reportlab needs some more love.
40 lines
916 B
Makefile
40 lines
916 B
Makefile
# $OpenBSD: Makefile,v 1.17 2009/01/03 21:27:25 kili Exp $
|
|
|
|
COMMENT= RSS Aggregator Without Delusions Of Grandeur
|
|
|
|
MODPY_EGG_VERSION= 2.10
|
|
DISTNAME= rawdog-${MODPY_EGG_VERSION}
|
|
PKGNAME= ${DISTNAME}p1
|
|
CATEGORIES= www news
|
|
|
|
HOMEPAGE= http://offog.org/code/rawdog.html
|
|
|
|
# GPLv2, LGPLv2.1
|
|
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
|
|
|
|
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>
|