# Created by: Thomas Gellekum # $FreeBSD$ PORTNAME= Pmw PORTVERSION= 1.3.2 PORTREVISION= 3 CATEGORIES= x11-toolkits python MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}/${PORTNAME}.${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME}.${PORTVERSION} MAINTAINER= fmysh@iijmio-mail.jp COMMENT= High-level compound graphics widgets for Python OPTIONS_DEFINE= DOCS EXAMPLES RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter LIB_DEPENDS= libBLT25.so:${PORTSDIR}/x11-toolkits/blt USES= python USE_PYTHON= distutils WRKSRC= ${WRKDIR}/${DISTNAME}/src PMWVERSION= ${DISTNAME:R:S/./_/g} PLIST_SUB= PMWVERSION="${PMWVERSION}" post-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DOCSDIR} \ ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/Pmw/${PMWVERSION}/bin; ${PAX} -rw . ${STAGEDIR}${DATADIR}) @(cd ${WRKSRC}/Pmw/${PMWVERSION}/doc; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .for d in contrib demos @(cd ${WRKSRC}/Pmw/${PMWVERSION}; ${COPYTREE_SHARE} $d ${STAGEDIR}${EXAMPLESDIR}) .endfor .include