# $FreeBSD$ PORTNAME= pymtbl PORTVERSION= 0.2 CATEGORIES= devel python MASTER_SITES= FARSIGHT LOCAL/truckman/farsight PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= truckman@FreeBSD.org COMMENT= Python wrapper for devel/mtbl LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYRIGHT LIB_DEPENDS= libmtbl.so:${PORTSDIR}/devel/mtbl USE_PYTHON= distutils autoplist USES= python shebangfix uniquefiles:dirs python_OLD_CMD= /usr/bin/env python SHEBANG_FILES= examples/*.py examples/*/*.py PORTEXAMPLES= * CPPFLAGS+= -I${LOCALBASE}/include post-install: ${STRIP_CMD} ${STAGEDIR}/${PYTHON_SITELIBDIR}/mtbl.so ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include