ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/textproc/py-libxml2/Makefile
Revision: 20546
Committed: Mon Oct 19 17:07:06 2015 UTC (8 years, 6 months ago) by laffer1
File size: 892 byte(s)
Log Message:
update a large number of textproc ports

File Contents

# Content
1 # $MidnightBSD$
2
3 PORTREVISION= 6
4 CATEGORIES= textproc gnome python
5 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
6
7 MAINTAINER= ports@MidnightBSD.org
8 COMMENT= Python interface for XML parser library for GNOME
9
10 MASTERDIR= ${.CURDIR}/../libxml2
11 BUILD_WRKSRC= ${WRKSRC}/python
12 INSTALL_WRKSRC= ${BUILD_WRKSRC}
13 DESCR= ${.CURDIR}/pkg-descr
14 PLIST= ${.CURDIR}/pkg-plist
15
16 USE_GNOME+= libxml2
17 USES+= python:2
18 USE_PYTHON= autoplist distutils
19
20 CPPFLAGS+= `${PYTHON_VERSION}-config --cflags`
21 LDFLAGS+= -L${LOCALBASE}/lib `${PYTHON_VERSION}-config --libs`
22 CONFIGURE_ARGS= --with-iconv=${ICONV_PREFIX} \
23 --with-html-dir=${PREFIX}/share/doc \
24 --with-html-subdir=${PORTNAME} \
25 --with-python=${PYTHON_CMD}
26
27 DOCSDIR= ${PREFIX}/share/doc/py-libxml2
28 EXAMPLESDIR= ${PREFIX}/share/examples/py-libxml2
29
30 post-install:
31 @${STRIP_CMD} ${FAKE_DESTDIR}${PYTHON_SITELIBDIR}/libxml2mod.so
32
33 .include "${MASTERDIR}/Makefile"

Properties

Name Value
svn:keywords MidnightBSD=%H