blob: 8f793edbf84fdb69f8a6a6f29b0550d8dc002743 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# New ports collection makefile for: PyQt
# Date created: Sun Oct 17 00:24:28 PDT 1999
# Whom: adsharma@sharmas.dhs.org
#
# $FreeBSD$
PORTNAME= py-qt
PORTVERSION= 2.4
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.5:${PORTSDIR}/devel/sip
USE_QT_VER= 2
USE_PYTHON= yes
USE_LIBTOOL= yes
USE_GMAKE= yes
CONFIGURE_ENV= LDFLAGS=-lgcc \
SIP_MOC="${X11BASE}/bin/moc2"
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>
|