diff options
author | perky <perky@FreeBSD.org> | 2002-07-01 18:41:10 +0000 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2002-07-01 18:41:10 +0000 |
commit | c62c5ef97a228ca1bd4ebfb185067975f319e1f4 (patch) | |
tree | f3e303cb7386055b6e5d1914f009a2e2af5c14b5 /devel/py-plex/Makefile | |
parent | 945159f7a1cda94c3fc219792a0c6b78a926e976 (diff) | |
download | FreeBSD-ports-c62c5ef97a228ca1bd4ebfb185067975f319e1f4.zip FreeBSD-ports-c62c5ef97a228ca1bd4ebfb185067975f319e1f4.tar.gz |
Add py-plex 1.1.2, lexical Analysis Module for Python.
PR: 36994
Submitted by: me
Diffstat (limited to 'devel/py-plex/Makefile')
-rw-r--r-- | devel/py-plex/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/devel/py-plex/Makefile b/devel/py-plex/Makefile new file mode 100644 index 0000000..58b2a67 --- /dev/null +++ b/devel/py-plex/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: py-plex +# Date created: 11 April 2002 +# Whom: Hye-Shik Chang +# +# $FreeBSD$ +# + +PORTNAME= plex +PORTVERSION= 1.1.2 +CATEGORIES= devel python +MASTER_SITES= http://www.cosc.canterbury.ac.nz/~greg/python/Plex/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= Plex${PORTVERSION} + +MAINTAINER= perky@FreeBSD.org + +USE_PYTHON= yes +USE_PYDISTUTILS=yes + +WRKSRC= ${WRKDIR} +DOCDIR= share/doc/py-plex +EXAMPLESDIR= share/examples/py-plex + +post-extract: + ${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|g' ${FILESDIR}/setup.py \ + > ${WRKSRC}/setup.py + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/${DOCDIR} + cd ${WRKSRC}/doc && ${INSTALL_DATA} ./* ${PREFIX}/${DOCDIR} + ${MKDIR} ${PREFIX}/${EXAMPLESDIR} + cd ${WRKSRC}/examples && ${INSTALL_DATA} ./* ${PREFIX}/${EXAMPLESDIR} +.endif + +.include <bsd.port.mk> |