freebsd-ports/textproc/py-libtre/Makefile
Rene Ladan a01b22a052 Reset ports maintained by bf@ until he has time again to work on them.
PR:		210474
Submitted by:	jbeich
With hat:	portmgr-secretary
2016-06-27 21:30:34 +00:00

34 lines
823 B
Makefile

# Created by: bf <bf2006a@yahoo.com>
# $FreeBSD$
PORTNAME= libtre
PORTVERSION= 0.8.0
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= http://laurikari.net/tre/ \
LOCAL/bf
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= tre-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python interface for the tre regular expressions library
LIB_DEPENDS= libtre.so:textproc/libtre
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python tar:bzip2
USE_PYTHON= distutils autoplist
BUILD_WRKSRC= ${WRKSRC}/python
INSTALL_WRKSRC= ${WRKSRC}/python
CFLAGS+= -I${LOCALBASE}/include/ -L${LOCALBASE}/lib/
.if defined(WITH_OPTIMIZED_CFLAGS)
CFLAGS+= -Wuninitialized -ffast-math -finline-functions \
-fomit-frame-pointer -fexpensive-optimizations \
-fforce-mem -fforce-addr -O3
.endif
.include <bsd.port.mk>