openbsd-ports/misc/py-imdb/Makefile

37 lines
842 B
Makefile

# $OpenBSD: Makefile,v 1.18 2010/08/30 17:11:35 fgsch Exp $
COMMENT= Python package to retrieve data of the IMDb movie database
MODPY_EGG_VERSION=3.6
DISTNAME= IMDbPY-${MODPY_EGG_VERSION}
PKGNAME= py-imdb-${MODPY_EGG_VERSION}
REVISION = 3
CATEGORIES= misc
HOMEPAGE= http://imdbpy.sourceforge.net/
MAINTAINER= Todd C. Miller <millert@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=imdbpy/}
MODULES= lang/python
NO_REGRESS= Yes
DOCSDIR= ${PREFIX}/share/doc/py-imdb
EXAMPLESDIR= ${PREFIX}/share/examples/py-imdb
post-install:
${INSTALL_DATA_DIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/README* ${DOCSDIR}
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/bin/* ${EXAMPLESDIR}
.include <bsd.port.mk>