summaryrefslogtreecommitdiffstats
path: root/sysutils/socklog/Makefile
blob: 3886b6de7f40216216a9e16d8cc787dc06a0020d (plain)
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
# New ports collection makefile for:	socklog
# Date created:		22 Aug 2002
# Whom:			Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#

PORTNAME=	socklog
PORTVERSION=	1.4.2
CATEGORIES=	sysutils net
MASTER_SITES=	http://smarden.org/socklog/

MAINTAINER=	sergei@FreeBSD.org
COMMENT=	Small and secure replacement for syslogd

RUN_DEPENDS=	${LOCALBASE}/sbin/chpst:${PORTSDIR}/sysutils/runit

WRKSRC=		${WRKDIR}/admin/${DISTNAME}
ALL_TARGET=	default

MAN1=		tryto.1 uncat.1
MAN8=		socklog-conf.8 socklog.8
DOCS=		package/CHANGES package/COPYING package/README doc/*.html

do-configure:
	${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc

do-build:
	cd ${WRKSRC} && package/compile && package/check

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/man/*.1 ${MANPREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/man/*.8 ${MANPREFIX}/man/man8
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud