1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/x11-toolkits/pmw/Makefile

42 lines
1.1 KiB
Makefile
Raw Normal View History

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