openbsd-ports/net/telepathy/telepathy-spec/Makefile

35 lines
918 B
Makefile

# $OpenBSD: Makefile,v 1.13 2009/01/20 10:43:54 jasper Exp $
SHARED_ONLY= No
COMMENT= flexible communications framework, specifications
DISTNAME= telepathy-spec-0.17.17
PKGNAME= ${DISTNAME}p0
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>