blob: b4d45e9c7531a8eace064ed684fa6d2efbd148fc (
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
|
# Ports collection Makefile for: py-functional
# Date created: 10/03/2000
# Whom: nectar@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= functional
PORTVERSION= 0.5
CATEGORIES= devel python
# The functional.py distfile disappeared.
# I'm storing it on MASTER_SITE_LOCAL until I get around to
# making a port of the xoltar-toolkit.
#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
#MASTER_SITE_SUBDIR= xoltar-toolkit
PKGNAMEPREFIX= py-
DISTNAME= functional.py
EXTRACT_SUFX= .gz
MAINTAINER= nectar@FreeBSD.org
EXTRACT_AFTER_ARGS= > ${DISTNAME}
USE_PYTHON= yes
NO_WRKSUBDIR= yes
do-build:
@cd ${WRKSRC} && ${PYTHON_CMD} -c 'import functional'
@cd ${WRKSRC} && ${PYTHON_CMD} -O -c 'import functional'
do-install:
.for f in functional.py functional.pyc functional.pyo
${INSTALL_DATA} ${WRKSRC}/${f} ${PYTHON_SITELIBDIR}/${f}
.endfor
.include <bsd.port.mk>
|