mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
|
# New ports collection makefile for: py-grouch
|
||
|
# Date created: 6 September 2001
|
||
|
# Whom: Johann Visagie <wjv@FreeBSD.org>
|
||
|
#
|
||
|
# $FreeBSD$
|
||
|
#
|
||
|
|
||
|
PORTNAME= grouch
|
||
|
PORTVERSION= 0.1
|
||
|
CATEGORIES= devel python
|
||
|
MASTER_SITES= http://www.mems-exchange.org/software/files/${PORTNAME}/
|
||
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||
|
DISTNAME= Grouch-${PORTVERSION}
|
||
|
|
||
|
MAINTAINER= wjv@FreeBSD.org
|
||
|
|
||
|
BUILD_DEPENDS= ${PYDISTUTILS}
|
||
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/compiler/__init__.py:${PORTSDIR}/lang/py-compiler
|
||
|
|
||
|
USE_PYTHON= yes
|
||
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}
|
||
|
|
||
|
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}
|
||
|
@ ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
|
||
|
@ ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
||
|
@ ${MKDIR} ${EXAMPLESDIR}
|
||
|
@ ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
||
|
.endif
|
||
|
|
||
|
.include <bsd.port.mk>
|