blob: 0850a2049874504aa507b1ca239be83320e5fe7c (
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
42
43
44
45
46
47
48
49
50
|
# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD$
PORTNAME= metalog
DISTVERSION= 0.8
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/old
MAINTAINER= ports@FreeBSD.org
COMMENT= Modern syslogd replacement with PCRE support
LICENSE= GPLv2
LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
USE_BZIP2= yes
USE_RC_SUBR= ${PORTNAME}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc
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
OPTIONS_DEFINE= DOCS EXAMPLES
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|' ${WRKSRC}/man/*[58]
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/,} ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
|