aboutsummaryrefslogtreecommitdiff
path: root/devel/libzt/Makefile
blob: b717ecd74e68a0bcbfd49f40612f86dd512e4c99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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

DEPRECATED=	mastersite disappeared, no longer maintained by author
EXPIRATION_DATE=2005-12-31

GNU_CONFIGURE=	yes
USE_LIBTOOL_VER=15
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>