37 lines
955 B
Makefile
37 lines
955 B
Makefile
# $OpenBSD: Makefile,v 1.18 2011/09/16 09:24:55 espie Exp $
|
|
|
|
COMMENT= command line parsing library for Python
|
|
|
|
MODPY_EGG_VERSION = 1.5.3
|
|
DISTNAME = optik-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
REVISION = 2
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = http://optik.sourceforge.net/
|
|
|
|
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
|
|
|
|
# BSD License
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=optik/}
|
|
|
|
MODULES = lang/python
|
|
|
|
DOCSDIR = ${PREFIX}/share/doc/py-optik
|
|
EXAMPLESDIR = ${PREFIX}/share/examples/py-optik
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DOCSDIR}
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
.include <bsd.port.mk>
|