12345678910111213141516171819202122232425262728293031323334353637383940 |
- # $OpenBSD: Makefile,v 1.26 2015/09/29 10:52:28 sthen Exp $
- COMMENT = python package to retrieve data of the IMDb movie database
- MODPY_EGG_VERSION = 5.0
- DISTNAME = IMDbPY-${MODPY_EGG_VERSION}
- PKGNAME = py-imdb-${MODPY_EGG_VERSION}
- CATEGORIES = misc devel
- REVISION = 0
- HOMEPAGE = http://imdbpy.sourceforge.net/
- MAINTAINER = Todd C. Miller <millert@openbsd.org>
- # GPL
- PERMIT_PACKAGE_CDROM = Yes
- WANTLIB += c pthread ${MODPY_WANTLIB}
- MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=imdbpy/}
- MODULES = lang/python
- MODPY_SETUPTOOLS = Yes
- RUN_DEPENDS = textproc/py-lxml
- NO_TEST = 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_SCRIPT} ${WRKSRC}/bin/* ${EXAMPLESDIR}
- perl -pi -e 's,#!/usr/bin/env python,#!${MODPY_BIN},' ${EXAMPLESDIR}/*
- .include <bsd.port.mk>
|