aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-xoltar-toolkit/Makefile
blob: 170a51f97aecff08946b38a870583f996147c321 (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
# Ports collection Makefile for:    py-functional
# Date created:             10/03/2000
# Whom:                 nectar@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   xoltar-toolkit
PORTVERSION=    2001.06.01
CATEGORIES= devel python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   ${PORTNAME}-01jun01

MAINTAINER= ports@FreeBSD.org

USE_PYTHON= yes
NO_WRKSUBDIR=   yes
INSTALLDIR= ${PREFIX}/lib/${PYTHON_VERSION}/site-packages

do-build:
    @ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
    @ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}

do-install:
    @ ${MKDIR} ${INSTALLDIR}
    @ ${INSTALL_DATA} ${WRKSRC}/*.py* ${INSTALLDIR}

post-install:
.if !defined(NOPORTDOCS)
    @ ${MKDIR} ${DOCSDIR}
    @ ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
.endif

.include <bsd.port.mk>