mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Stage support
- Use new style LIB_DEPENDS syntax - Use PYDISTUTILS_AUTOPLIST and drop pkg-plist
This commit is contained in:
parent
68e2d15d21
commit
778a15959e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349568
@ -12,25 +12,24 @@ DISTNAME= pyosd-${PORTVERSION}
|
||||
MAINTAINER= novel@FreeBSD.org
|
||||
COMMENT= A python wrapper for osd, for displaying text on your X display
|
||||
|
||||
LIB_DEPENDS= xosd.4:${PORTSDIR}/misc/xosd
|
||||
LIB_DEPENDS= libxosd.so:${PORTSDIR}/misc/xosd
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/twistd:${PORTSDIR}/devel/py-twisted
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_PKGNAME= pyosd
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
|
||||
PORTDOCS= AUTHORS ChangeLog ChangeLog.old README README.daemon pyosd.html
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/setup.py
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for i in ${PORTDOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
|
@ -1,8 +0,0 @@
|
||||
%%PYTHON_SITELIBDIR%%/_pyosd.so
|
||||
%%PYTHON_SITELIBDIR%%/pyosd/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/pyosd/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pyosd/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pyosd/daemon.py
|
||||
%%PYTHON_SITELIBDIR%%/pyosd/daemon.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pyosd/daemon.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/pyosd
|
Loading…
Reference in New Issue
Block a user