1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- Respect X11BASE

Reported by:	pointyhat
This commit is contained in:
Rong-En Fan 2006-12-01 19:45:02 +00:00
parent e209306c4f
commit bef0a0792b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178500

View File

@ -27,6 +27,9 @@ DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
XTRADOCS= CHANGES README TODO
post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/setup.py
post-build:
${REINPLACE_CMD} -e "s|\.\./docs|${DOCSDIR}/html|g" ${WRKSRC}/test/help.py