blob: 86ecb70201a4a22a3f86f5edc9a8bc332ff16048 (
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
33
34
35
36
37
38
39
40
41
|
# New ports collection makefile for: py-zsi
# Date created: 17 September 2001
# Whom: Johann Visagie <wjv@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= zsi
PORTVERSION= 1.1
CATEGORIES= net python
MASTER_SITES= http://www.zolera.com/resources/opensrc/zsi/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
EXTRACT_SUFX= .tgz
MAINTAINER= wjv@FreeBSD.org
RUN_DEPENDS= ${PYXML}
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/${PORTNAME:U}-${PORTVERSION}
do-build:
@ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \
setup.py build
pre-install:
@ ${SH} ${PKGREQ} INSTALL
do-install:
@ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \
setup.py install -c -O1 --prefix=${PREFIX}
post-install:
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${DOCSDIR}
.for docfile in CHANGES README doc/zsi.* doc/*.tex
@ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|