blob: 7072dd959b7bdfcc49101f4d0e677f1e58a7c2ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# New ports collection makefile for: py-osd
# Date created: 08 Aug 2003
# Whom: larse@isi.edu
#
# $FreeBSD$
#
PORTNAME= osd
PORTVERSION= 0.2.14
PORTREVISION= 5
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= xosd.4:${PORTSDIR}/misc/xosd
RUN_DEPENDS= ${LOCALBASE}/bin/twistd:${PORTSDIR}/devel/py-twisted
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= pyosd
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} ${DOCSDIR}
.for i in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|