summaryrefslogtreecommitdiff
path: root/textproc/py-hyperestraier/Makefile
blob: a09e25e907237765aaa77aa2f54be70f67cc798d (plain)
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
36
# 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
PORTREVISION=	1
CATEGORIES=	textproc python
MASTER_SITES=	http://hyperestraier.sourceforge.net/binding/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	hyper_estraier_wrappers-${PORTVERSION}

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

BROKEN=	Does not fetch

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

USE_PYTHON=	yes
INSTALLS_EGGINFO=	yes
PYDISTUTILS_PKGNAME=	HyperEstraier
PYDISTUTILS_PKGVERSION=	0.01

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

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

.include <bsd.port.mk>