openbsd-ports/devel/py-sip/Makefile
jasper e3b13a8e42 - update py-sip to 4.7.9
- fix homepage

maintainer timed-out
2009-06-03 18:20:51 +00:00

47 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.6 2009/06/03 18:20:51 jasper Exp $
SHARED_ONLY= Yes
COMMENT= automatically generate Python bindings for C and C++ libs
DISTNAME= sip-4.7.9
PKGNAME= py-${DISTNAME}
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:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-sip
${INSTALL_DATA} ${WRKSRC}/doc/sipref.txt \
${PREFIX}/share/doc/py-sip
.include <bsd.port.mk>