freebsd-ports/textproc/gnome-doc-utils/Makefile
Koop Mast b9c13e790a gnome-doc-utils is jobs safe for a while.
While here USES=tar:xz

PR:		189209
Submitted by:	jiashiun@gmail.com
2014-06-05 20:47:01 +00:00

33 lines
1.1 KiB
Makefile

# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/trunk/textproc/gnome-doc-utils/Makefile 19009 2014-03-02 22:41:42Z kwm $
PORTNAME= gnome-doc-utils
PORTVERSION= 0.20.10
PORTREVISION= 2
CATEGORIES= textproc gnome
MASTER_SITES= GNOME
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME doc utils
BUILD_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian \
${PYTHON_SITELIBDIR}/libxml2mod.so:${PORTSDIR}/textproc/py-libxml2
RUN_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian \
${PYTHON_SITELIBDIR}/libxml2mod.so:${PORTSDIR}/textproc/py-libxml2 \
${LOCALBASE}/share/xml/docbook/4.3:${PORTSDIR}/textproc/docbook-xml
USES= gettext gmake pathfix pkgconfig tar:xz
USE_GNOME= gnomehier libxslt intlhack
USE_PYTHON= 2
INSTALLS_OMF= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-omf-dir=${PREFIX}/share/omf
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-install:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR}/xml2po
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR}/xml2po/modes
.include <bsd.port.mk>