aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-hyperestraier/Makefile
blob: 336164f9f831c0c1b8bdda4ff17c672b767062d3 (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
# New ports collection makefile for:    py-hyperestraier
# Date created:                         21 November 2006
# Whom:                                 Junji NAKANISHI <jun-g@daemonfreaks.com>
#
# $FreeBSD$

PORTNAME=	hyperestraier
PORTVERSION=	0.0.15
CATEGORIES=	textproc python
MASTER_SITES=	http://hyperestraier.sourceforge.net/binding/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	hyper_estraier_wrappers-${PORTVERSION}

MAINTAINER=	ahze@FreeBSD.org
COMMENT=	Python bindings for HyperEstraier

BUILD_DEPENDS=	swig>=1.3:${PORTSDIR}/devel/swig13
LIB_DEPENDS=	estraier.8:${PORTSDIR}/textproc/hyperestraier

USE_PYTHON=	yes

MAKE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

pre-patch:
	@${REINPLACE_CMD} -e 's|PYTHON = python|PYTHON = ${PYTHON_VERSION}|' \
		${WRKSRC}/Makefile

.include <bsd.port.mk>