1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/misc/py-osd/Makefile
Dmitry Marakasov 4ed5d621eb - Convert misc/xosd and dependent ports which need it (deskutils/xneur, polish/ekg2, polish/gnugadu2, sysutils/lineak-xosdplugin) to USES=libtool, drop .la files
- Since xosd shlib version has changed, bump all ports which depend on it
- Stagify deskutils/xneur
- Convert USE_BZIP2 to USES
- Use new LIB_DEPENDS syntax

Approved by:	portmgr blanket
2014-05-27 11:17:41 +00:00

37 lines
912 B
Makefile

# Created by: larse@isi.edu
# $FreeBSD$
PORTNAME= osd
PORTVERSION= 0.2.14
PORTREVISION= 9
CATEGORIES= misc python
MASTER_SITES= http://ichi2.net/pyosd/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyosd-${PORTVERSION}
MAINTAINER= novel@FreeBSD.org
COMMENT= A python wrapper for osd, for displaying text on your X display
LIB_DEPENDS= libxosd.so:${PORTSDIR}/misc/xosd
RUN_DEPENDS= ${LOCALBASE}/bin/twistd:${PORTSDIR}/devel/py-twisted
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
PORTDOCS= AUTHORS ChangeLog ChangeLog.old README README.daemon pyosd.html
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/setup.py
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>