1998-06-05 02:50:33 -04:00
|
|
|
# New ports collection makefile for: pmw
|
|
|
|
# Date created: 03 June 1998
|
1999-08-31 02:53:31 -04:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1998-06-05 02:50:33 -04:00
|
|
|
#
|
1999-08-30 23:04:38 -04:00
|
|
|
# $FreeBSD$
|
2000-04-09 21:11:24 -04:00
|
|
|
#
|
1998-06-05 02:50:33 -04:00
|
|
|
|
2000-04-09 21:11:24 -04:00
|
|
|
PORTNAME= py-pmw
|
2000-09-13 08:27:53 -04:00
|
|
|
PORTVERSION= 0.8.4
|
1998-12-15 03:13:06 -05:00
|
|
|
CATEGORIES= x11-toolkits python
|
1998-06-05 02:50:33 -04:00
|
|
|
MASTER_SITES= ftp://ftp.dscpl.com.au/pub/pmw/
|
2000-04-09 21:11:24 -04:00
|
|
|
DISTNAME= Pmw.${PORTVERSION}
|
1998-06-05 02:50:33 -04:00
|
|
|
|
1999-08-31 02:53:31 -04:00
|
|
|
MAINTAINER= tg@FreeBSD.org
|
1998-06-05 02:50:33 -04:00
|
|
|
|
2000-09-13 08:27:53 -04:00
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
|
2001-02-06 23:37:53 -05:00
|
|
|
LIB_DEPENDS= BLT24.2:${PORTSDIR}/x11-toolkits/blt
|
1998-06-05 02:50:33 -04:00
|
|
|
|
1998-12-15 03:13:06 -05:00
|
|
|
PLIST_SUB= PMWVERSION="${PMWVERSION}"
|
2000-09-13 08:27:53 -04:00
|
|
|
USE_PYTHON= yes
|
1998-12-15 03:13:06 -05:00
|
|
|
|
1998-06-05 02:50:33 -04:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/Pmw
|
|
|
|
EXAMPLEDIR= ${PREFIX}/share/examples/Pmw
|
2000-09-13 08:27:53 -04:00
|
|
|
PMWVERSION= Pmw_${PORTVERSION:S/./_/g}
|
1998-06-05 02:50:33 -04:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
@${ECHO_MSG} "Do a \`make install' as root."
|
|
|
|
|
|
|
|
do-install:
|
1998-12-15 03:13:06 -05:00
|
|
|
@(cd ${WRKDIR}; tar cf - Pmw/__init__.py Pmw/${PMWVERSION}/__init__.py Pmw/${PMWVERSION}/lib) | \
|
2000-09-13 08:27:53 -04:00
|
|
|
(cd ${PYTHON_SITELIBDIR}; tar xf -)
|
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PYTHON_SITELIBDIR}/Pmw
|
|
|
|
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PYTHON_SITELIBDIR}/Pmw
|
1998-06-05 02:50:33 -04:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCDIR} ${EXAMPLEDIR}
|
1998-12-15 03:13:06 -05:00
|
|
|
@(cd ${WRKDIR}/Pmw/${PMWVERSION}/doc; tar cf - .) | \
|
1998-06-05 02:50:33 -04:00
|
|
|
(cd ${DOCDIR}; tar xf -)
|
1998-12-15 03:13:06 -05:00
|
|
|
@(cd ${WRKDIR}/Pmw/${PMWVERSION}/demos; tar cf - .) | \
|
1998-06-05 02:50:33 -04:00
|
|
|
(cd ${EXAMPLEDIR}; tar xf -)
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|