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

46 lines
1.4 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: pmw
1999-06-16 10:47:48 +00:00
# Version required: 0.8.1
# Date created: 03 June 1998
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
1999-06-16 10:47:48 +00:00
# $Id: Makefile,v 1.5 1998/12/15 08:13:05 tg Exp $
1999-06-16 10:47:48 +00:00
DISTNAME= Pmw.0.8.1
PKGNAME= py-pmw-0.8.1
1998-12-15 08:13:06 +00:00
CATEGORIES= x11-toolkits python
MASTER_SITES= ftp://ftp.dscpl.com.au/pub/pmw/
MAINTAINER= tg@FreeBSD.ORG
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
RUN_DEPENDS= python:${PORTSDIR}/lang/python
1998-12-15 08:13:06 +00:00
PLIST_SUB= PMWVERSION="${PMWVERSION}"
PYTHONSCRIPTDIR=${PREFIX}/lib/python1.5
SITEPYDIR= ${PYTHONSCRIPTDIR}/site-packages
DOCDIR= ${PREFIX}/share/doc/Pmw
EXAMPLEDIR= ${PREFIX}/share/examples/Pmw
1999-06-16 10:47:48 +00:00
PMWVERSION= Pmw_0_8_1
do-build:
@${ECHO_MSG} "Do a \`make install' as root."
do-install:
1998-11-24 10:10:21 +00:00
@${MKDIR} ${SITEPYDIR}
1998-12-15 08:13:06 +00:00
@(cd ${WRKDIR}; tar cf - Pmw/__init__.py Pmw/${PMWVERSION}/__init__.py Pmw/${PMWVERSION}/lib) | \
(cd ${SITEPYDIR}; tar xf -)
@${PREFIX}/bin/python ${PYTHONSCRIPTDIR}/compileall.py ${SITEPYDIR}/Pmw
@${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${SITEPYDIR}/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 -)
@${PREFIX}/bin/python ${PYTHONSCRIPTDIR}/compileall.py ${EXAMPLEDIR}
@${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${EXAMPLEDIR}
.endif
.include <bsd.port.mk>