1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/textproc/py-hyperestraier-python/Makefile
Vanilla I. Shu 0c2bc2335d 1: Stagify.
2: use options helper.

Approved by:	portmgr@ (blanket approval)
2014-07-02 06:35:18 +00:00

33 lines
810 B
Makefile

# Created by: Junji NAKANISHI <jun-g@daemonfreaks.com>
# $FreeBSD$
PORTNAME= hyperestraier
PORTVERSION= 0.10.10
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}
OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example.py ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/asyn_example.py ${STAGEDIR}${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>