View | Details | Raw Unified | Return to bug 78319
Collapse All | Expand All

(-)/usr/ports/devel/py-sip.new/Makefile (-5 / +14 lines)
Lines 5-12 Link Here
5
# $FreeBSD: ports/devel/py-sip/Makefile,v 1.15 2005/01/10 22:04:32 lofi Exp $
5
# $FreeBSD: ports/devel/py-sip/Makefile,v 1.15 2005/01/10 22:04:32 lofi Exp $
6
6
7
PORTNAME=	sip
7
PORTNAME=	sip
8
PORTVERSION=	4.1.1
8
PORTVERSION=	4.2
9
PORTREVISION=	2
9
PORTREVISION=
10
CATEGORIES=	devel python
10
CATEGORIES=	devel python
11
MASTER_SITES=	http://www.river-bank.demon.co.uk/download/sip/
11
MASTER_SITES=	http://www.river-bank.demon.co.uk/download/sip/
12
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
12
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 19-33 Link Here
19
USE_PYTHON=	yes
19
USE_PYTHON=	yes
20
USE_QT_VER=	3
20
USE_QT_VER=	3
21
21
22
DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
23
22
.include <bsd.port.pre.mk>
24
.include <bsd.port.pre.mk>
23
25
24
do-configure:
26
do-configure:
25
	@(cd ${WRKSRC} && ${SETENV} QTDIR=${X11BASE} \
27
	@( cd ${WRKSRC} && ${SETENV} QTDIR=${X11BASE} \
26
		QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
28
		QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
27
		${PYTHON_CMD} configure.py -b ${PREFIX}/bin \
29
		${PYTHON_CMD} configure.py \
28
		-d ${PYTHONPREFIX_SITELIBDIR} -v ${PREFIX}/share/sip)
30
		-b ${PREFIX}/bin -d ${PYTHONPREFIX_SITELIBDIR} \
31
		-e ${PYTHON_INCLUDEDIR} -v ${PREFIX}/share/sip )
29
32
30
post-install:
33
post-install:
34
.if !defined(NOPORTDOCS)
35
	@( ${MKDIR} ${DOCSDIR} && cd ${WRKSRC}/doc && \
36
		${INSTALL_DATA} default.css sipref.html sipref.txt ${DOCSDIR} \
37
		&& ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} )
38
.endif
39
	@${PYTHON_CMD} -c "import sipconfig"
31
	@${PYTHON_CMD} -O -c "import sipconfig"
40
	@${PYTHON_CMD} -O -c "import sipconfig"
32
41
33
.include <bsd.port.post.mk>
42
.include <bsd.port.post.mk>
(-)/usr/ports/devel/py-sip.new/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (sip-4.1.1.tar.gz) = f9dc81a7726305af114fede6c4107ce6
1
MD5 (sip-4.2.tar.gz) = b884cc15228a166c9d6fc88aaaeccc96
2
SIZE (sip-4.1.1.tar.gz) = 296512
2
SIZE (sip-4.2.tar.gz) = 312926
(-)/usr/ports/devel/py-sip.new/files/patch-aa (-11 lines)
Lines 1-11 Link Here
1
--- configure.py.orig	Sat Jul  3 00:17:35 2004
2
+++ configure.py	Sat Jul  3 00:18:18 2004
3
@@ -688,7 +688,7 @@
4
     sipconfig.ParentMakefile(
5
         configuration=cfg,
6
         subdirs=["sipgen", "siplib"],
7
-        installs=("sipconfig.py", cfg.sip_mod_dir)
8
+        installs=(["sipconfig.py", "sipconfig.pyc"], cfg.sip_mod_dir)
9
     ).generate()
10
 
11
     sipconfig.inform("Creating sip code generator Makefile...")
(-)/usr/ports/devel/py-sip.new/pkg-plist (+4 lines)
Lines 1-6 Link Here
1
bin/sip
1
bin/sip
2
%%PORTDOCS%%%%DOCSDIR%%/default.css
3
%%PORTDOCS%%%%DOCSDIR%%/sipref.html
4
%%PORTDOCS%%%%DOCSDIR%%/sipref.txt
2
%%PYTHON_INCLUDEDIR%%/sip.h
5
%%PYTHON_INCLUDEDIR%%/sip.h
3
%%PYTHON_SITELIBDIR%%/sip.so
6
%%PYTHON_SITELIBDIR%%/sip.so
4
%%PYTHON_SITELIBDIR%%/sipconfig.py
7
%%PYTHON_SITELIBDIR%%/sipconfig.py
5
%%PYTHON_SITELIBDIR%%/sipconfig.pyc
8
%%PYTHON_SITELIBDIR%%/sipconfig.pyc
6
%%PYTHON_SITELIBDIR%%/sipconfig.pyo
9
%%PYTHON_SITELIBDIR%%/sipconfig.pyo
10
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 78319