blob: 235f3591582da0584154bd3a35deaff4888c49df (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Created by: Thomas Gellekum <tg@FreeBSD.org>
# $FreeBSD$
PORTNAME= Pmw
PORTVERSION= 1.3.2
PORTREVISION= 3
CATEGORIES= x11-toolkits python
MASTER_SITES= SF/${PORTNAME:L}/${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
USE_PYTHON= yes
USE_PYDISTUTILS= yes
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 <bsd.port.mk>
|