mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
3f651573ad
Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
32 lines
797 B
Makefile
32 lines
797 B
Makefile
# New ports collection makefile for: libzt
|
|
# Date created: 09.06.2003
|
|
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libzt
|
|
PORTVERSION= 1.0.2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.zerotao.org/downloads/${PORTNAME}/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Collection of utility code for C application/server development
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL_VER= 13
|
|
USE_REINPLACE= yes
|
|
USE_GETOPT_LONG= yes
|
|
INSTALLS_SHLIB= yes
|
|
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name "Makefile*" | ${XARGS} \
|
|
${REINPLACE_CMD} -e \
|
|
"s,^CFLAGS =,CFLAGS+=${CFLAGS},g ; \
|
|
s,-no-cpp-precomp,,g"
|
|
|
|
.include <bsd.port.mk>
|