openbsd-ports/net/telepathy/telepathy-spec/Makefile
2008-12-22 23:51:31 +00:00

32 lines
876 B
Makefile

# $OpenBSD: Makefile,v 1.11 2008/12/22 23:51:31 jasper Exp $
COMMENT= flexible communications framework, specifications
DISTNAME= telepathy-spec-0.17.16
CATEGORIES= books
MASTER_SITES= ${MASTER_SITES_TELEPATHY:=telepathy-spec/}
BUILD_DEPENDS= ::lang/python/2.5 \
::textproc/libxslt \
::textproc/py-docutils
USE_GMAKE= Yes
NO_REGRESS= Yes
PKG_ARCH= *
# XXX we should use MODPY_BIN from the lang/python MODULE but
# we do not want to build/run_depends on python
pre-configure:
perl -pi -e 's,!!MODPY_BIN!!,${LOCALBASE}/bin/python2.5,g' ${WRKSRC}/Makefile
perl -pi -e 's,!!MODPY_BIN!!,${LOCALBASE}/bin/python2.5,g' ${WRKSRC}/tools/*.py
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/gtk-doc/html/telepathy-spec/
${INSTALL_DATA} ${WRKSRC}/doc/{spec.html,telepathy-spec.devhelp2} \
${PREFIX}/share/gtk-doc/html/telepathy-spec/
.include <bsd.port.mk>