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
|
2015-01-24 23:10:59 +01:00
|
|
|
PORTREVISION= 10
|
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
|
2014-07-07 17:31:01 +02:00
|
|
|
COMMENT= Python wrapper for osd, for displaying text on your X display
|
2003-10-03 14:42:23 +02:00
|
|
|
|
2014-03-29 18:09:30 +01:00
|
|
|
LIB_DEPENDS= libxosd.so:${PORTSDIR}/misc/xosd
|
2003-10-03 14:42:23 +02:00
|
|
|
|
2015-01-24 23:10:59 +01:00
|
|
|
USES= python twisted:run
|
2014-10-20 19:59:37 +02:00
|
|
|
USE_PYTHON= distutils autoplist
|
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}
|
|
|
|
|
2014-07-04 02:56:57 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
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:
|
2014-03-29 18:09:30 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2005-04-05 19:17:04 +02:00
|
|
|
.for i in ${PORTDOCS}
|
2014-03-29 18:09:30 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
2005-04-05 19:17:04 +02:00
|
|
|
.endfor
|
2003-10-03 14:42:23 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|