b2c4fbb77a
Introduces the UTF-32 library pcre32 Bump PORTREVISION in dependent ports
56 lines
1.1 KiB
Makefile
56 lines
1.1 KiB
Makefile
# New ports collection makefile for: metalog
|
|
# Date Created: 27 Aug 2002
|
|
# Whom: Sergei Kolobov <sergei@kolobov.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= metalog
|
|
DISTVERSION= 0.8
|
|
PORTREVISION= 2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= SF/${PORTNAME}/old
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Modern syslogd replacement with PCRE support
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= pcre.3:${PORTSDIR}/devel/pcre
|
|
|
|
USE_BZIP2= yes
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
MAN5= metalog.conf.5
|
|
MAN8= metalog.8
|
|
PORTDOCS= AUTHORS NEWS README
|
|
PORTEXAMPLES= metalog.conf
|
|
PLIST_FILES= sbin/metalog
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|' ${WRKSRC}/man/*[58]
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
.for doc in ${PORTDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
.for ex in ${PORTEXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/${ex} ${EXAMPLESDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|