mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
c1b64d1b79
- Support staging - Use new LIB_DEPENDS syntax - Make installation of sample config non-optional and install it in ${PREFIX}/etc instead of ${EXAMPLESDIR} - Convert from PLIST_FILES to pkg-plist PR: ports/183414 Requested by: Zsolt Udvari <udvzsolt@gmail.com>
38 lines
828 B
Makefile
38 lines
828 B
Makefile
# Created by: Sergei Kolobov <sergei@kolobov.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= metalog
|
|
PORTVERSION= 3
|
|
PORTEPOCH= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= SF/${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Modern syslogd replacement with PCRE support
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
|
|
|
|
USES= pkgconfig
|
|
USE_XZ= yes
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc
|
|
|
|
PORTDOCS= AUTHORS NEWS README
|
|
|
|
OPTIONS_DEFINE= DOCS UNICODE
|
|
|
|
UNICODE_CONFIGURE_WITH= unicode
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|' ${WRKSRC}/man/*[58].in
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/metalog.conf ${STAGEDIR}${PREFIX}/etc/metalog.conf.sample
|
|
|
|
.include <bsd.port.mk>
|