mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Respect PREFIX/X11BASE
Submitted by: maintainer Reported by: krismail
This commit is contained in:
parent
bb43e5f558
commit
3f0bb45416
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=145731
@ -18,12 +18,17 @@ COMMENT= PyOpenAL is a binding of OpenAL for Python
|
||||
LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal
|
||||
|
||||
DIST_SUBDIR= python
|
||||
USE_REINPLACE= yes
|
||||
USE_GZIP= yes
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
WRKSRC= ${WRKDIR}/PyOpenAL-${PORTVERSION}
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/py-openal
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
${WRKSRC}/setup.py
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
|
15
audio/py-openal/files/patch-setup.py
Normal file
15
audio/py-openal/files/patch-setup.py
Normal file
@ -0,0 +1,15 @@
|
||||
--- setup.py Mon Oct 17 23:22:45 2005
|
||||
+++ setup.py Mon Oct 17 23:22:19 2005
|
||||
@@ -24,10 +24,10 @@
|
||||
|
||||
ext_modules = [Extension("_openal",
|
||||
["py_openal.c"],
|
||||
- ["/usr/include", "/usr/local/include"],
|
||||
+ ["/usr/include", "/usr/local/include", "%%PREFIX%%/include"],
|
||||
[("HAVE_CONFIG_H", None)],
|
||||
None,
|
||||
- ["/usr/lib", "/usr/local/lib"],
|
||||
+ ["/usr/lib", "/usr/local/lib", "%%PREFIX%%/lib"],
|
||||
["openal"],
|
||||
)
|
||||
]
|
Loading…
Reference in New Issue
Block a user