2011-06-08 13:35:54 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2011/06/08 17:41:58 rpointel 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
|
2010-07-30 02:58:57 -04:00
|
|
|
PKGNAME= ${DISTNAME:S/^py/py-/}
|
2011-06-08 13:35:54 -04:00
|
|
|
REVISION= 5
|
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
|
|
|
|
|
2010-07-30 05:23:28 -04:00
|
|
|
WANTLIB= xosd
|
|
|
|
|
2006-10-14 12:35:26 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
|
|
|
MODULES= lang/python
|
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS= x11/xosd
|
2006-10-14 12:35:26 -04:00
|
|
|
|
|
|
|
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>
|