summaryrefslogtreecommitdiffstats
path: root/lang/python21
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2000-03-24 09:17:27 +0000
committertg <tg@FreeBSD.org>2000-03-24 09:17:27 +0000
commit1eaf1e1edc49427ad96bb5ed1ca62fbff52400ec (patch)
treea5ca1da114eb237c13c6b7db91cfc196f5e0a34c /lang/python21
parenta46d6f40834a45613b81e607993759beda761185 (diff)
downloadFreeBSD-ports-1eaf1e1edc49427ad96bb5ed1ca62fbff52400ec.zip
FreeBSD-ports-1eaf1e1edc49427ad96bb5ed1ca62fbff52400ec.tar.gz
Fix packaging on -current.
Diffstat (limited to 'lang/python21')
-rw-r--r--lang/python21/Makefile13
-rw-r--r--lang/python21/pkg-plist14
2 files changed, 22 insertions, 5 deletions
diff --git a/lang/python21/Makefile b/lang/python21/Makefile
index d8f4971..7e3a066 100644
--- a/lang/python21/Makefile
+++ b/lang/python21/Makefile
@@ -78,6 +78,7 @@ PLIST_TOOLS= ${PKGDIR}/PLIST.Tools
post-extract:
cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh
+ cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd5.sh
post-configure:
${CP} ${FILESDIR}/${SETUP_FILE} ${WRKSRC}/Modules/Setup
@@ -87,12 +88,14 @@ post-configure:
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 400000
-PLATFORMS=plat-freebsd2 plat-freebsd3
+.if ${OSVERSION} >= 500000
+PLATFORMS=plat-freebsd2 plat-freebsd3 plat-freebsd4
+.elif ${OSVERSION} >= 400000
+PLATFORMS=plat-freebsd2 plat-freebsd3 plat-freebsd5
.elif ${OSVERSION} >= 300000
-PLATFORMS=plat-freebsd2 plat-freebsd4
-.else
-PLATFORMS=plat-freebsd3 plat-freebsd4
+PLATFORMS=plat-freebsd2 plat-freebsd4 plat-freebsd5
+.else
+PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
.endif
pre-install:
diff --git a/lang/python21/pkg-plist b/lang/python21/pkg-plist
index 58ef1c9..df5b584 100644
--- a/lang/python21/pkg-plist
+++ b/lang/python21/pkg-plist
@@ -525,6 +525,19 @@ lib/python1.5/plat-freebsd4/TERMIOS.py
lib/python1.5/plat-freebsd4/TERMIOS.pyc
lib/python1.5/plat-freebsd4/TERMIOS.pyo
lib/python1.5/plat-freebsd4/regen
+lib/python1.5/plat-freebsd5/FCNTL.py
+lib/python1.5/plat-freebsd5/FCNTL.pyc
+lib/python1.5/plat-freebsd5/FCNTL.pyo
+lib/python1.5/plat-freebsd5/IN.py
+lib/python1.5/plat-freebsd5/IN.pyc
+lib/python1.5/plat-freebsd5/IN.pyo
+lib/python1.5/plat-freebsd5/SOCKET.py
+lib/python1.5/plat-freebsd5/SOCKET.pyc
+lib/python1.5/plat-freebsd5/SOCKET.pyo
+lib/python1.5/plat-freebsd5/TERMIOS.py
+lib/python1.5/plat-freebsd5/TERMIOS.pyc
+lib/python1.5/plat-freebsd5/TERMIOS.pyo
+lib/python1.5/plat-freebsd5/regen
lib/python1.5/popen2.py
lib/python1.5/popen2.pyc
lib/python1.5/popen2.pyo
@@ -990,6 +1003,7 @@ lib/python1.5/xmllib.pyo
@dirrm lib/python1.5/plat-freebsd2
@dirrm lib/python1.5/plat-freebsd3
@dirrm lib/python1.5/plat-freebsd4
+@dirrm lib/python1.5/plat-freebsd5
@dirrm lib/python1.5/site-packages
@dirrm lib/python1.5/test/output
@dirrm lib/python1.5/test
OpenPOWER on IntegriCloud