openbsd-ports/x11/py-osd/Makefile

41 lines
861 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.11 2011/06/08 17:41:58 rpointel Exp $
SHARED_ONLY= Yes
COMMENT= python bindings to the XOSD library
DISTNAME= pyosd-0.2.14
PKGNAME= ${DISTNAME:S/^py/py-/}
REVISION= 5
CATEGORIES= x11
HOMEPAGE= http://ichi2.net/pyosd/
# 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
MASTER_SITES= ${HOMEPAGE}
MODULES= lang/python
2010-11-22 03:36:47 -05:00
LIB_DEPENDS= 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>