1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/sysutils/socklog/Makefile
Adam Weinberger 5c660af9c0 From PR:
- Use socklog's native build mechanism
- Allow user to override CC and CFLAGS settings
- Install additional documentation (note: COPYING is not a copy of GPL,
  but a 3-clause BSD-type license)
- Bump PORTREVISION due to changed package

PR:		50518
Submitted by:	Sergei Kolobov <sergei@kolobov.com> (maintainer)
2003-04-02 06:25:14 +00:00

40 lines
942 B
Makefile

# New ports collection makefile for: socklog
# Date created: 22 Aug 2002
# Whom: Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#
PORTNAME= socklog
PORTVERSION= 1.0.0
PORTREVISION= 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>