aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-Pmw/Makefile
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1998-12-15 16:13:06 +0800
committertg <tg@FreeBSD.org>1998-12-15 16:13:06 +0800
commitb33269da44a85aedb9f6fe38e314c90954ec2d1a (patch)
treeb2d5eac4a3427434e24d4eac3d15499f768e881e /x11-toolkits/py-Pmw/Makefile
parent461d002cca5646d35b0b27feef1e1ed2fa4d4a61 (diff)
downloadfreebsd-ports-graphics-b33269da44a85aedb9f6fe38e314c90954ec2d1a.tar.gz
freebsd-ports-graphics-b33269da44a85aedb9f6fe38e314c90954ec2d1a.tar.zst
freebsd-ports-graphics-b33269da44a85aedb9f6fe38e314c90954ec2d1a.zip
Upgrade to 0.8.
Diffstat (limited to 'x11-toolkits/py-Pmw/Makefile')
-rw-r--r--x11-toolkits/py-Pmw/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/x11-toolkits/py-Pmw/Makefile b/x11-toolkits/py-Pmw/Makefile
index abe70c6922f..184d1072466 100644
--- a/x11-toolkits/py-Pmw/Makefile
+++ b/x11-toolkits/py-Pmw/Makefile
@@ -1,13 +1,13 @@
# New ports collection makefile for: pmw
-# Version required: 0.7
+# Version required: 0.8
# Date created: 03 June 1998
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.3 1998/08/07 22:56:38 asami Exp $
+# $Id: Makefile,v 1.4 1998/11/24 10:10:21 tg Exp $
-DISTNAME= Pmw.0.7
-PKGNAME= pmw-0.7
-CATEGORIES= x11-toolkits
+DISTNAME= Pmw.0.8
+PKGNAME= py-pmw-0.8
+CATEGORIES= x11-toolkits python
MASTER_SITES= ftp://ftp.dscpl.com.au/pub/pmw/
MAINTAINER= tg@FreeBSD.ORG
@@ -15,25 +15,28 @@ MAINTAINER= tg@FreeBSD.ORG
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
RUN_DEPENDS= python:${PORTSDIR}/lang/python
+PLIST_SUB= PMWVERSION="${PMWVERSION}"
+
PYTHONSCRIPTDIR=${PREFIX}/lib/python1.5
SITEPYDIR= ${PYTHONSCRIPTDIR}/site-packages
DOCDIR= ${PREFIX}/share/doc/Pmw
EXAMPLEDIR= ${PREFIX}/share/examples/Pmw
+PMWVERSION= Pmw_0_8
do-build:
@${ECHO_MSG} "Do a \`make install' as root."
do-install:
@${MKDIR} ${SITEPYDIR}
- @(cd ${WRKDIR}; tar cf - Pmw/__init__.py Pmw/Pmw_0_7/__init__.py Pmw/Pmw_0_7/lib) | \
+ @(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}
- @(cd ${WRKDIR}/Pmw/Pmw_0_7/doc; tar cf - .) | \
+ @(cd ${WRKDIR}/Pmw/${PMWVERSION}/doc; tar cf - .) | \
(cd ${DOCDIR}; tar xf -)
- @(cd ${WRKDIR}/Pmw/Pmw_0_7/demos; tar cf - .) | \
+ @(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}