2013-03-02 23:32:48 +01:00
|
|
|
# Created by: Thomas Gellekum <tg@FreeBSD.org>
|
1999-08-31 05:04:38 +02:00
|
|
|
# $FreeBSD$
|
1998-06-05 08:50:33 +02:00
|
|
|
|
2007-09-02 09:13:09 +02:00
|
|
|
PORTNAME= Pmw
|
2008-03-06 07:57:30 +01:00
|
|
|
PORTVERSION= 1.3.2
|
2013-11-19 12:15:07 +01:00
|
|
|
PORTREVISION= 3
|
1998-12-15 09:13:06 +01:00
|
|
|
CATEGORIES= x11-toolkits python
|
2009-08-22 02:39:37 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/${PORTNAME}.${PORTVERSION}
|
2001-02-15 13:02:54 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2007-09-02 09:13:09 +02:00
|
|
|
DISTNAME= ${PORTNAME}.${PORTVERSION}
|
1998-06-05 08:50:33 +02:00
|
|
|
|
2007-09-02 09:13:09 +02:00
|
|
|
MAINTAINER= fmysh@iijmio-mail.jp
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= High-level compound graphics widgets for Python
|
1998-06-05 08:50:33 +02:00
|
|
|
|
2013-03-02 23:32:48 +01:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter
|
2013-11-19 12:15:07 +01:00
|
|
|
LIB_DEPENDS= libBLT25.so:${PORTSDIR}/x11-toolkits/blt
|
1998-06-05 08:50:33 +02:00
|
|
|
|
2008-03-06 07:57:30 +01:00
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
1998-06-05 08:50:33 +02:00
|
|
|
|
2008-03-06 07:57:30 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
PMWVERSION= ${DISTNAME:R:S/./_/g}
|
|
|
|
PLIST_SUB= PMWVERSION="${PMWVERSION}"
|
2007-09-02 09:13:09 +02:00
|
|
|
|
2013-09-21 01:57:47 +02:00
|
|
|
NO_STAGE= yes
|
2008-03-06 07:57:30 +01:00
|
|
|
post-install:
|
2007-09-02 09:13:09 +02:00
|
|
|
@${MKDIR} ${DATADIR}
|
2008-03-06 07:57:30 +01:00
|
|
|
@(cd ${WRKSRC}/Pmw/${PMWVERSION}/bin; ${TAR} cf - .) | \
|
|
|
|
(cd ${DATADIR}; ${TAR} -xof -)
|
2007-09-02 09:13:09 +02:00
|
|
|
|
1998-06-05 08:50:33 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2008-03-06 07:57:30 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2007-09-02 09:13:09 +02:00
|
|
|
@(cd ${WRKSRC}/Pmw/${PMWVERSION}/doc; ${TAR} cf - .) | \
|
2008-03-06 07:57:30 +01:00
|
|
|
(cd ${DOCSDIR}; ${TAR} -xof -)
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
.for d in contrib demos
|
|
|
|
@(cd ${WRKSRC}/Pmw/${PMWVERSION}; ${TAR} cf - $d) | \
|
|
|
|
(cd ${EXAMPLESDIR}; ${TAR} -xof -)
|
|
|
|
.endfor
|
1998-06-05 08:50:33 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|