blob: d1cc9fd8f4b709b289959714cacd86c20e08c4c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Created by: Alexander Nedotsukov <bland@FreeBSD.org>
PORTREVISION= 5
CATEGORIES= textproc gnome python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
COMMENT= Python interface for XML parser library for GNOME
MASTERDIR= ${.CURDIR}/../libxml2
USES+= gettext-runtime gnome python shebangfix
USE_GNOME= libxml2
USE_PYTHON= autoplist distutils
SHEBANG_FILES= *.py doc/*.py python/*.py python/tests/*.py
OPTIONS_EXCLUDE= ${OPTIONS_DEFINE}
# Tell master port we're a slave port
LIBXML2_SLAVE= python
# Grab pkg-descr from slave port
DESCR= ${.CURDIR}/pkg-descr
BUILD_WRKSRC= ${WRKSRC}/python
INSTALL_WRKSRC= ${BUILD_WRKSRC}
# Don't append pkg-plist from master port
PLIST=
DOCSDIR= ${PREFIX}/share/doc/py-libxml2
EXAMPLESDIR= ${PREFIX}/share/examples/py-libxml2
do-configure:
.include "${MASTERDIR}/Makefile"
|