aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-hyperestraier-python/Makefile
blob: f31af6ca311a380c394e5f82f550ec7c2eb7d811 (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
# New ports collection makefile for:    py-hyperestraier-python
# Date created:                         30 March 2007
# Whom:                                 Junji NAKANISHI <jun-g@daemonfreaks.com>
#
# $FreeBSD$

PORTNAME=	hyperestraier
PORTVERSION=	0.10.4
CATEGORIES=	textproc python
MASTER_SITES=	CHEESESHOP \
		http://www.liris.org/tech/program/hyperestraier-purepython/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX=	-python
EXTRACT_SUFX=	.tgz

MAINTAINER=	jun-g@daemonfreaks.com
COMMENT=	Pure Python HyperEstraier library

WRKSRC=		${WRKDIR}/${PORTNAME}
USE_PYTHON=	yes
USE_PYDISTUTILS=yes

PORTEXAMPLES=	example.py
EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}${PKGNAMESUFFIX}

post-install:
.if !defined(NOPORTEXAMPLES)
	@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/exapmle.py ${EXAMPLESDIR}/example.py
.endif

.include <bsd.port.mk>