e79fe1aabc
Many of the WWW are overwritten later which means the wrong value is used. This did not happen before where the children were either a) just using the pkg-descr from the parents b) or had their own separate pkg-descr with custom WWW Use WWW?= in parents when the child's WWW is different. Children that use the same WWW as the parent can just inherit it, i.e., the child WWW can be removed. Approved by: portmgr (implicit)
31 lines
754 B
Makefile
31 lines
754 B
Makefile
PORTREVISION= 0
|
|
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"
|