aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-cxx/Makefile
blob: dbebda404a59856176a9c606db1944886a25eda7 (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
# ex:ts=8
# New ports collection makefile for:    PyCXX
# Date created:         Oct 7, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   cxx
PORTVERSION=    5.4.0
CATEGORIES= devel python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pycxx-${PORTVERSION}

MAINTAINER= lwhsu@FreeBSD.org
COMMENT=    Make it easier to extend Python with C++

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
USE_PYTHON_PREFIX=  yes

.if !defined(NOPORTDOCS)
DOCSDIR=    ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS=   *
.endif

post-install:
.   if !defined(NOPORTDOCS)
        @${MKDIR} ${DOCSDIR}
        ${INSTALL_DATA} ${WRKSRC}/Doc/PyCXX.html ${DOCSDIR}
.   endif

.include <bsd.port.mk>