openbsd-ports/security/prelude/prewikka/Makefile
aanriot 4998a38f45 - install a README.OpenBSD file (instructions for PostgreSQL, MySQL,
SQLite).
- get ride of deprecated patches.
- bump PKGNAME.
2006-10-06 08:04:23 +00:00

28 lines
647 B
Makefile

# $OpenBSD: Makefile,v 1.5 2006/10/06 08:04:23 aanriot Exp $
COMMENT= "Prelude Management Console"
DISTNAME= prewikka-0.9.7.1
PKGNAME= prelude-${DISTNAME}p0
MODULES= lang/python
BUILD_DEPENDS= :py-cheetah-*:devel/py-cheetah
RUN_DEPENDS= :prelude-manager-*:security/prelude/manager
pre-install:
@perl -pi -e "s,%%PREFIX%%,${PREFIX}," \
${WRKSRC}/prewikka/siteconfig.py
@perl -pi -e "s,%%SYSCONFDIR%%,${SYSCONFDIR}," \
${WRKSRC}/prewikka/siteconfig.py
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/prewikka/
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD \
${PREFIX}/share/doc/prewikka/
NO_REGRESS=Yes
.include <bsd.port.mk>