1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/devel/py-plex/Makefile
2003-08-28 05:01:53 +00:00

37 lines
909 B
Makefile

# New ports collection makefile for: py-plex
# Date created: 11 April 2002
# Whom: Hye-Shik Chang
#
# $FreeBSD$
#
PORTNAME= plex
PORTVERSION= 1.1.4.1
CATEGORIES= devel python
MASTER_SITES= http://www.cosc.canterbury.ac.nz/~greg/python/Plex/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Plex-${PORTVERSION}
MAINTAINER= perky@FreeBSD.org
COMMENT= Lexical Analysis Module for Python
USE_PYTHON= yes
USE_PYDISTUTILS=yes
DOCSDIR= share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR= share/examples/${PKGNAMEPREFIX}${PORTNAME}
post-extract:
${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|g' ${FILESDIR}/setup.py \
> ${WRKSRC}/setup.py
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/${DOCSDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} ./* ${PREFIX}/${DOCSDIR}
${MKDIR} ${PREFIX}/${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${INSTALL_DATA} ./* ${PREFIX}/${EXAMPLESDIR}
.endif
.include <bsd.port.mk>