2013-09-20 22:50:57 +02:00
|
|
|
# Created by: larse@isi.edu
|
2003-10-03 14:42:23 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= osd
|
2005-09-22 14:45:01 +02:00
|
|
|
PORTVERSION= 0.2.14
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 8
|
2003-10-03 14:42:23 +02:00
|
|
|
CATEGORIES= misc python
|
2009-02-01 20:22:20 +01:00
|
|
|
MASTER_SITES= http://ichi2.net/pyosd/
|
2003-10-03 14:42:23 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= pyosd-${PORTVERSION}
|
|
|
|
|
2005-09-22 14:45:01 +02:00
|
|
|
MAINTAINER= novel@FreeBSD.org
|
2003-10-03 14:42:23 +02:00
|
|
|
COMMENT= A python wrapper for osd, for displaying text on your X display
|
|
|
|
|
|
|
|
LIB_DEPENDS= xosd.4:${PORTSDIR}/misc/xosd
|
2004-03-31 15:52:13 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/twistd:${PORTSDIR}/devel/py-twisted
|
2003-10-03 14:42:23 +02:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
2007-07-30 11:42:28 +02:00
|
|
|
PYDISTUTILS_PKGNAME= pyosd
|
2004-03-31 15:52:13 +02:00
|
|
|
|
2005-04-05 19:17:04 +02:00
|
|
|
PORTDOCS= AUTHORS ChangeLog ChangeLog.old README README.daemon pyosd.html
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
|
2013-09-20 22:50:57 +02:00
|
|
|
NO_STAGE= yes
|
2004-03-31 15:52:13 +02:00
|
|
|
post-patch:
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/setup.py
|
2003-10-03 14:42:23 +02:00
|
|
|
|
2005-04-05 19:17:04 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in ${PORTDOCS}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2003-10-03 14:42:23 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|