mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
f0a1969d34
is better studied o Turn PORTCOMMENT variable in Makefile back into pkg-comment files Approved by: kris (portmgr hat), portmgr, re (silence)
37 lines
823 B
Makefile
37 lines
823 B
Makefile
# 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>
|