aboutsummaryrefslogtreecommitdiff
path: root/misc/py-osd
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2014-03-29 17:09:30 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2014-03-29 17:09:30 +0000
commit778a15959e7718ba936ae96e011e572cf31d2107 (patch)
tree3c74f4e213da3ab7957c5240159ff61078a3feb6 /misc/py-osd
parent68e2d15d210eae2a87e94752ee83a8ddc9d8ebf2 (diff)
downloadports-778a15959e7718ba936ae96e011e572cf31d2107.tar.gz
ports-778a15959e7718ba936ae96e011e572cf31d2107.zip
Notes
Diffstat (limited to 'misc/py-osd')
-rw-r--r--misc/py-osd/Makefile9
-rw-r--r--misc/py-osd/pkg-plist8
2 files changed, 4 insertions, 13 deletions
diff --git a/misc/py-osd/Makefile b/misc/py-osd/Makefile
index c21f6c699434..a2121a7ca2f0 100644
--- a/misc/py-osd/Makefile
+++ b/misc/py-osd/Makefile
@@ -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
diff --git a/misc/py-osd/pkg-plist b/misc/py-osd/pkg-plist
deleted file mode 100644
index 4f0f173fa5bf..000000000000
--- a/misc/py-osd/pkg-plist
+++ /dev/null
@@ -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