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

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

MAINTAINER= sergei@kolobov.com
COMMENT=    Small and secure replacement for syslogd

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

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>