aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-hyperestraier-python/Makefile
blob: 81b3807e6f10aac27be2bf1471f2b6b43da03bb1 (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.8
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}/example.py ${EXAMPLESDIR}/
    ${INSTALL_DATA} ${WRKSRC}/asyn_example.py ${EXAMPLESDIR}/
.endif

.include <bsd.port.mk>