blob: 5e97b22fdd2508126c07dde89b5e2dad1ec96dce (
plain) (
blame)
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
36
37
38
39
40
41
42
43
|
# New ports collection makefile for: py-sip
# Date created: Tue Oct 8 09:51:22 SAST 2002
# Whom: nbm
#
# $FreeBSD$
PORTNAME= sip
PORTVERSION= 4.2.1
PORTREVISION=
CATEGORIES= devel python
MASTER_SITES= http://www.river-bank.demon.co.uk/download/sip/ \
http://freebsd.ricin.com/ports/distfiles/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= danny@ricin.com
COMMENT= Python to C and C++ bindings generator
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
USE_PYTHON= yes
USE_QT_VER= 3
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
.include <bsd.port.pre.mk>
do-configure:
@( cd ${WRKSRC} && ${SETENV} QTDIR=${X11BASE} \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
${PYTHON_CMD} configure.py \
-b ${PREFIX}/bin -d ${PYTHONPREFIX_SITELIBDIR} \
-e ${PYTHON_INCLUDEDIR} -v ${PREFIX}/share/sip )
post-install:
.if !defined(NOPORTDOCS)
@( ${MKDIR} ${DOCSDIR} && cd ${WRKSRC}/doc && \
${INSTALL_DATA} default.css sipref.html sipref.txt ${DOCSDIR} \
&& ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} )
.endif
@${PYTHON_CMD} -c "import sipconfig"
@${PYTHON_CMD} -O -c "import sipconfig"
.include <bsd.port.post.mk>
|