1704e7fa76
at an inconvenient time (like when you build another port), and leaves dangling .pyc after you pkg_delete. Reported by naddy@ after a bulk build and removal of all installed ports. OK ajacoutot@, wcmaier@
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.9 2010/04/12 20:06:50 dcoppa Exp $
|
|
|
|
# XXX: Don't forget to update x11/py-qt{3,4} when updating this port.
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= automatically generate Python bindings for C and C++ libs
|
|
|
|
DISTNAME= sip-4.8.2
|
|
PKGNAME= py-${DISTNAME}p0
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://www.riverbankcomputing.co.uk/software/sip/intro
|
|
|
|
MAINTAINER= Lars Hansson <lars@unet.net.ph>
|
|
|
|
# SIP license (Python like)
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= m c stdc++
|
|
|
|
MASTER_SITES= http://www.riverbankcomputing.co.uk/static/Downloads/sip4/
|
|
|
|
MODULES= lang/python
|
|
|
|
CONFIGURE_STYLE=simple
|
|
CONFIGURE_SCRIPT=${MODPY_BIN} configure.py
|
|
CONFIGURE_ARGS= -b ${PREFIX}/bin \
|
|
-d ${MODPY_SITEPKG} \
|
|
-e ${MODPY_INCDIR} \
|
|
-v ${PREFIX}/share/sip \
|
|
INCDIR=${LOCALBASE}/include \
|
|
LIBDIR=${LOCALBASE}/lib \
|
|
CC=${CC} CXX=${CXX} \
|
|
CFLAGS="${CFLAGS}" \
|
|
CXXFLAGS="${CXXFLAGS}"
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
post-install:
|
|
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${WRKINST}${MODPY_SITEPKG}
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-sip
|
|
${INSTALL_DATA} ${WRKSRC}/doc/html/_sources/* ${PREFIX}/share/doc/py-sip
|
|
|
|
.include <bsd.port.mk>
|