1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Update to 2.2.

Approved by:	maintainer
This commit is contained in:
Maxim Sobolev 2000-11-22 16:53:53 +00:00
parent 4e1f0c96d0
commit 7ba80c5656
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35347
7 changed files with 83 additions and 21 deletions

View File

@ -6,19 +6,18 @@
#
PORTNAME= sip
PORTVERSION= 0.12
PORTVERSION= 2.2
CATEGORIES= devel python
MASTER_SITES= http://www.river-bank.demon.co.uk/software/
MAINTAINER= adsharma@sharmas.dhs.org
BUILD_DEPENDS= ${LOCALBASE}/include/python1.5/Python.h:${PORTSDIR}/lang/python15
USE_PYTHON= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
USE_QT= yes
CONFIGURE_ARGS= --enable-qt --with-qt-includes=${X11BASE}/include/X11/qt
USE_GMAKE= yes
USE_QT2= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --enable-qt --with-qt-includes=${X11BASE}/include/qt2
CONFIGURE_ENV= LDFLAGS=-lgcc
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (sip-0.12.tar.gz) = 64a53fa4204aaa5a6098cdaf3c34604c
MD5 (sip-2.2.tar.gz) = 03d0e5edcb123baffd3214ecaf59404e

23
devel/sip/files/patch-aa Normal file
View File

@ -0,0 +1,23 @@
--- configure.orig Sat Nov 4 17:18:43 2000
+++ configure Fri Nov 17 19:24:29 2000
@@ -2101,9 +2101,9 @@
for d in $qt_mocdirs
do
- if test -x $d/moc
+ if test -x $d/moc2
then
- sip_qt_moc=$d/moc
+ sip_qt_moc=$d/moc2
break
fi
done
@@ -3166,7 +3166,7 @@
then
SIP_QT_MOC=$sip_qt_moc
SIP_CPPFLAGS="-DSIP_QT_SUPPORT -I$sip_qt_incdir $X_CFLAGS $SIP_CPPFLAGS"
- SIP_LDFLAGS="-L$sip_qt_libdir -lqt $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
+ SIP_LDFLAGS="-L$sip_qt_libdir -lqt2 $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
else
SIP_QT_MOC=":"
SIP_LDFLAGS=

View File

@ -1,7 +1,7 @@
bin/sip
lib/libsip.so.3
lib/libsip.so
lib/libsip.a
lib/libsip.so
lib/libsip.so.4
include/sip/sip.h
include/sip/sipQt.h
@dirrm include/sip

View File

@ -1,24 +1,36 @@
# New ports collection makefile for: PyQt
# Version required: 0.9
# Date created: Sun Oct 17 00:24:28 PDT 1999
# Whom: adsharma@sharmas.dhs.org
#
# $FreeBSD$
PORTNAME= py-qt
PORTVERSION= 0.12
PORTVERSION= 2.2
CATEGORIES= x11-toolkits python
MASTER_SITES= http://www.river-bank.demon.co.uk/software/
DISTNAME= PyQt-${PORTVERSION}
MAINTAINER= adsharma@sharmas.dhs.org
LIB_DEPENDS= sip.3:${PORTSDIR}/devel/sip
LIB_DEPENDS= sip.4:${PORTSDIR}/devel/sip
USE_QT= yes
USE_QT2= yes
USE_PYTHON= yes
USE_LIBTOOL= yes
USE_GMAKE= yes
CONFIGURE_ENV= LDFLAGS=-lgcc
CONFIGURE_ARGS= --with-qt-includes=${X11BASE}/include/X11/qt
CONFIGURE_ENV= LDFLAGS=-lgcc \
SIP_MOC="${X11BASE}/bin/moc2"
CONFIGURE_ARGS= --with-qt-includes=${X11BASE}/include/qt2
pre-patch:
@find ${WRKSRC} -name Makefile.in | \
xargs ${PERL} -pi -e 's|-lqt[^2]|-lqt2 |g'
post-configure:
@${PERL} -pi -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
${WRKSRC}/libtool
post-install:
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PYTHON_SITELIBDIR}/eric
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (PyQt-0.12.tar.gz) = 2e3ce2c038dde5fa1a71b46924189385
MD5 (PyQt-2.2.tar.gz) = faf285f786211530a5e12c32ded5a8bd

View File

@ -1,5 +1,33 @@
lib/python1.5/lib-dynload/libqtcmodule-0.12.so
lib/python1.5/lib-dynload/libqtcmodule.so
lib/python1.5/qt.py
@exec /sbin/ldconfig -m %D/lib
@unexec /sbin/ldconfig -R
bin/eric
bin/pyuic
lib/%%PYTHON_VERSION%%/site-packages/eric/AsyncIO.py
lib/%%PYTHON_VERSION%%/site-packages/eric/AsyncIO.pyc
lib/%%PYTHON_VERSION%%/site-packages/eric/Config.py
lib/%%PYTHON_VERSION%%/site-packages/eric/Config.pyc
lib/%%PYTHON_VERSION%%/site-packages/eric/DebugClient.py
lib/%%PYTHON_VERSION%%/site-packages/eric/DebugClient.pyc
lib/%%PYTHON_VERSION%%/site-packages/eric/DebugProtocol.py
lib/%%PYTHON_VERSION%%/site-packages/eric/DebugProtocol.pyc
lib/%%PYTHON_VERSION%%/site-packages/eric/DebugServer.py
lib/%%PYTHON_VERSION%%/site-packages/eric/DebugServer.pyc
lib/%%PYTHON_VERSION%%/site-packages/eric/Explorer.py
lib/%%PYTHON_VERSION%%/site-packages/eric/Explorer.pyc
lib/%%PYTHON_VERSION%%/site-packages/eric/Icons.py
lib/%%PYTHON_VERSION%%/site-packages/eric/Icons.pyc
lib/%%PYTHON_VERSION%%/site-packages/eric/Info.py
lib/%%PYTHON_VERSION%%/site-packages/eric/Info.pyc
lib/%%PYTHON_VERSION%%/site-packages/eric/Scanner.py
lib/%%PYTHON_VERSION%%/site-packages/eric/Scanner.pyc
lib/%%PYTHON_VERSION%%/site-packages/eric/Shell.py
lib/%%PYTHON_VERSION%%/site-packages/eric/Shell.pyc
lib/%%PYTHON_VERSION%%/site-packages/eric/SourceViewer.py
lib/%%PYTHON_VERSION%%/site-packages/eric/SourceViewer.pyc
lib/%%PYTHON_VERSION%%/site-packages/eric/UserInterface.py
lib/%%PYTHON_VERSION%%/site-packages/eric/UserInterface.pyc
lib/%%PYTHON_VERSION%%/site-packages/eric/eric.py
lib/%%PYTHON_VERSION%%/site-packages/eric/eric.pyc
lib/%%PYTHON_VERSION%%/site-packages/libqtcmodule.so
lib/%%PYTHON_VERSION%%/site-packages/libqtcmodule.so.0
lib/%%PYTHON_VERSION%%/site-packages/qt.py
lib/%%PYTHON_VERSION%%/site-packages/qt.pyc
@dirrm lib/%%PYTHON_VERSION%%/site-packages/eric