aboutsummaryrefslogtreecommitdiff
path: root/databases/php4-rrdtool/Makefile
blob: b8ee578b04794aae72a74f2efa11137ee8c03b72 (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
# New ports collection makefile for:	php4-rrdtool
# Date created:				26 Aug 2004
# Whom:					mat
#
# $FreeBSD$
#

PORTNAME=	rrdtool
PORTVERSION=	1.05
PORTREVISION=	1
CATEGORIES=	databases
MASTER_SITES=	${MASTER_SITE_LOCAL} http://www.joeym.net/
MASTER_SITE_SUBDIR=	mat
PKGNAMEPREFIX=	php4-
DISTNAME=	${UNIQUENAME}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A php/rrdtool glue

LIB_DEPENDS=	rrd:${PORTSDIR}/databases/rrdtool

GNU_CONFIGURE=	yes

WRKSRC=		${WRKDIR}/${UNIQUENAME}-${PORTVERSION}

USE_PHP=	yes
USE_PHPEXT=	yes

.if !defined(NOPORTEXAMPLES)
post-install:
	@${MKDIR} ${EXAMPLESDIR}
	@${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
	@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
.endif

.include <bsd.port.mk>