aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-hyperestraier-python/Makefile
blob: 5612749002a701109d71adeee5b5f500ed6262a8 (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.7
CATEGORIES= textproc python
MASTER_SITES=   CHEESESHOP
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 asyn_example.py
EXAMPLESDIR=    ${PREFIX}/share/examples/py-${PORTNAME}${PKGNAMESUFFIX}

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

.include <bsd.port.mk>