summaryrefslogtreecommitdiffstats
path: root/devel/c2lib/Makefile
blob: 3879e4ce2a3a6432f2de4d43c7d706b99ea5198c (plain)
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
# New ports collection makefile for:	c2lib
# Date created:		2002-12-22
# Whom:			Alan Eldridge <alane@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	c2lib
PORTVERSION=	1.4.2
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	http://www.annexia.org/_file/

MAINTAINER=	sergei@FreeBSD.org
COMMENT=	Library of basic structures and memory allocators for C

BUILD_DEPENDS=	cdoc:${PORTSDIR}/devel/cdoc \
		make+:${PORTSDIR}/devel/makeplus
LIB_DEPENDS+=	pcre.0:${PORTSDIR}/devel/pcre

INSTALLS_SHLIB=	yes
HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX}
PLIST_SUB=	VERSION=${PORTVERSION}
CONFIGURE_ENV=	MAKEPLUS_HOME=${MAKEPLUS_HOME}
MAKE_ENV=	MAKEPLUS_HOME=${MAKEPLUS_HOME}
MAKEPLUS_HOME=	${LOCALBASE}/share/makeplus

.include "${.CURDIR}/files/manpages.mk"

do-build:
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} make+

do-install:
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} make+ install

.include <bsd.port.mk>
OpenPOWER on IntegriCloud