summaryrefslogtreecommitdiff
path: root/devel/c2lib/Makefile
blob: eb5ed1255534f343867109f5f6b2040d6cae8e39 (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
# ex:ts=8	-*-mode: makefile-*-
#
# New ports collection makefile for:	c2lib
# Date created:		2002-12-22
# Whom:			Alan Eldridge <alane@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	c2lib
PORTVERSION=	1.4.1
PORTREVISION=	0
PORTEPOCH=	0
CATEGORIES=	devel
MASTER_SITES=	http://www.annexia.org/freeware/${PORTNAME}/

MAINTAINER=	alane@FreeBSD.org

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

USE_GMAKE=	yes
PREFIX?=	${LOCALBASE}
MAKE_ENV+=	CC="${CC}"
.include <bsd.port.pre.mk>

do-configure:
	cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} make+ configure

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

do-install:
	cd ${WRKSRC}; ${SETENV} ${MAKE_ENV}\
		make+ install prefix=${PREFIX} manprefix=${PREFIX}

.include "${FILESDIR}/manpages.mk"
.include <bsd.port.post.mk>

#EOF