1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/net/cactid/Makefile
Clement Laforet 911e76f94c - Move include files to ${PREFIX}/include/cactid to avoid compile time
conflicts with php.h from lang/php* ports.

Spotted by:	pav
2005-03-21 14:48:31 +00:00

36 lines
811 B
Makefile

# New ports collection makefile for: cactid
# Date created: Feb 26 2005
# Whom: clement@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= cactid
PORTVERSION= 0.8.6.d
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.cacti.net/downloads/cactid/
DISTNAME= cacti-${PORTNAME}-0.8.6d
MAINTAINER= ports@FreeBSD.org
COMMENT= A multithreaded poller for Cacti written in C
LIB_DEPENDS= netsnmp.7:${PORTSDIR}/net-mgmt/net-snmp
GNU_CONFIGURE= YES
USE_MYSQL= YES
USE_OPENSSL= YES
USE_REINPLACE= YES
post-patch:
@${REINPLACE_CMD} 's,%%PREFIX%%,${PREFIX},' \
${WRKSRC}/cactid.h
post-install:
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/cactid.conf ${EXAMPLESDIR}
@[ -e ${PREFIX}/etc/cactid.conf ] || \
${INSTALL_DATA} ${EXAMPLESDIR}/cactid.conf ${PREFIX}/etc/
.include <bsd.port.mk>