77afb46098
Make it easier to extend Python with C++
35 lines
641 B
Makefile
35 lines
641 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: PyCXX
|
|
# Date created: Oct 7, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cxx
|
|
PORTVERSION= 5.1r1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= PyCXX-V${PORTVERSION:S/r/-rc/}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
USE_PYTHON= yes
|
|
SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
|
|
|
|
do-build:
|
|
@${SETUP_CMD} build
|
|
|
|
do-install:
|
|
@${SETUP_CMD} install
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/Doc/PyCXX.html ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|