freebsd-ports/sysutils/socklog/Makefile

46 lines
1.2 KiB
Makefile
Raw Normal View History

# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD$
PORTNAME= socklog
2006-04-29 23:01:54 +02:00
PORTVERSION= 2.1.0
PORTREVISION= 1
CATEGORIES= sysutils net
MASTER_SITES= http://smarden.org/socklog/
MAINTAINER= ports@FreeBSD.org
2003-02-21 14:28:59 +01:00
COMMENT= Small and secure replacement for syslogd
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${LOCALBASE}/sbin/chpst:${PORTSDIR}/sysutils/runit
WRKSRC= ${WRKDIR}/admin/${DISTNAME}
ALL_TARGET= default
TEXTDOCS= CHANGES COPYING README
HTMLDOCS= *.html
PORTDOCS= ${TEXTDOCS} ${HTMLDOCS}
OPTIONS_DEFINE= DOCS
do-configure:
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc
${ECHO_CMD} "${CC} -s ${LDFLAGS}" > ${WRKSRC}/src/conf-ld
do-build:
cd ${WRKSRC} && package/compile
@${ECHO_MSG} "Type 'make test' to run self-tests"
test:
cd ${WRKSRC} && package/check
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/command/* ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/*.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${TEXTDOCS:S,^,${WRKSRC}/package/,} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${HTMLDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>