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> |