2008-09-21 14:19:53 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2008/09/21 18:19:53 sturm Exp $
|
2006-10-14 12:35:26 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
2007-09-15 16:04:18 -04:00
|
|
|
COMMENT= python bindings to the XOSD library
|
2006-10-14 12:35:26 -04:00
|
|
|
|
|
|
|
DISTNAME= pyosd-0.2.14
|
2008-09-21 14:19:53 -04:00
|
|
|
PKGNAME= ${DISTNAME:S/^py/py-/}p1
|
2006-10-14 12:35:26 -04:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
2008-09-15 09:00:55 -04:00
|
|
|
HOMEPAGE= http://ichi2.net/pyosd/
|
2006-10-14 12:35:26 -04:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
|
|
|
MODULES= lang/python
|
|
|
|
|
|
|
|
LIB_DEPENDS= xosd.>=4::x11/xosd
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
@perl -pi -e "s,!!LOCALBASE!!,${LOCALBASE},g" ${WRKSRC}/setup.py
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-osd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pyosd.html ${PREFIX}/share/doc/py-osd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/py-osd
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/py-osd
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/modules/*.py ${PREFIX}/share/py-osd
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|