aboutsummaryrefslogtreecommitdiff
path: root/devel/vstr/Makefile
blob: d9bda1b29ff0f0b3d0b4c7d3238c79aec3d938bf (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
35
36
37
38
39
40
41
42
43
# Ports collection makefile for:	vstr
# Date created:		11 February 2004
# Whom:			Robert Schlotterbeck <robert@rs.tarrant.tx.us>
#
# $FreeBSD$
#

PORTNAME=	vstr
PORTVERSION=	1.0.15
CATEGORIES=	devel
MASTER_SITES=	http://freebsd.unixfreunde.de/sources/ \
		http://sce-tindy.tecnik93.com/FreeBSD/others_ports/${PORTNAME}/ \
		http://www.and.org/vstr/1.0.15/ \
		http://www.and.org/vstr/latest/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	General purpose string library for C

USE_AUTOTOOLS=	libtool:15
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
USE_BZIP2=	yes
USE_GMAKE=	yes
USE_GNOME=	gnomehack pkgconfig
USE_LDCONFIG=	yes

MAN3=		vstr.3 vstr_const.3

post-patch:
.if defined(NOPORTDOCS)
	${REINPLACE_CMD} -e 's| Documentation||' ${WRKSRC}/Makefile.in
.endif

post-install:
.if defined(NOPORTDOCS)
	cd ${WRKSRC}/Documentation && ${GMAKE} install-man3
.endif

regression-test:
	(cd ${WRKSRC} &&	\
	${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)

.include <bsd.port.mk>