svn commit: r349568 - head/misc/py-osd
Roman Bogorodskiy
novel at FreeBSD.org
Sat Mar 29 17:09:31 UTC 2014
Author: novel
Date: Sat Mar 29 17:09:30 2014
New Revision: 349568
URL: http://svnweb.freebsd.org/changeset/ports/349568
QAT: https://qat.redports.org/buildarchive/r349568/
Log:
- Stage support
- Use new style LIB_DEPENDS syntax
- Use PYDISTUTILS_AUTOPLIST and drop pkg-plist
Deleted:
head/misc/py-osd/pkg-plist
Modified:
head/misc/py-osd/Makefile
Modified: head/misc/py-osd/Makefile
==============================================================================
--- head/misc/py-osd/Makefile Sat Mar 29 17:05:47 2014 (r349567)
+++ head/misc/py-osd/Makefile Sat Mar 29 17:09:30 2014 (r349568)
@@ -12,25 +12,24 @@ DISTNAME= pyosd-${PORTVERSION}
MAINTAINER= novel at 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
More information about the svn-ports-head
mailing list