no need to redefine what's already in the python module.

This commit is contained in:
xsa 2006-09-20 14:44:13 +00:00
parent 0d7fc6c2a4
commit 1cdde3ae0e

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/07/26 10:25:56 djm Exp $
# $OpenBSD: Makefile,v 1.2 2006/09/20 14:44:13 xsa Exp $
COMMENT= "Python weblog system"
@ -17,10 +17,8 @@ PERMIT_DISTFILES_CDROM= Yes
MODULES= lang/python
PYPATH= ${LOCALBASE}/bin/python${MODPY_VERSION}
post-install:
perl -p -i -e "s|^\#\!/usr/bin/env python|\#\!${PYPATH}|" \
perl -p -i -e "s|^\#\!/usr/bin/env python|\#\!${MODPY_BIN}|" \
${PREFIX}/share/examples/pyblosxom/pyblosxom.cgi
mv ${PREFIX}/share/examples/pyblosxom/config.py \
${PREFIX}/share/examples/pyblosxom/config.py.example