1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/security/logcheck/Makefile
Will Andrews 11e2b03ccb Eww. Cull etc/tmp in favor of var/tmp (even though this is not what
hier(7) specifically states, it's still better than screwing around with
stuff outside of ${PREFIX}).

PR:		25672
Submitted by:	Dan Langille <dan@langille.org>
2001-03-11 03:14:12 +00:00

28 lines
693 B
Makefile

# Ports collection makefile for: logcheck
# Date created: 9 December 1999
# Whom: Dan Langille <dan@freebsddiary.org>
#
# $FreeBSD$
#
PORTNAME= logcheck
PORTVERSION= 1.1.1
CATEGORIES= security
MASTER_SITES= http://www.psionic.com/tools/
MAINTAINER= ports@freebsddiary.org
PKGMESSAGE= ${WRKDIR}/MESSAGE
pre-configure:
${PERL} -pi -e "s@/usr/local/etc/tmp@${PREFIX}/var/tmp@g" ${WRKSRC}/Makefile ${WRKSRC}/systems/freebsd/logcheck.sh
${PERL} -pi -e "s@/bin/mkdir@${MKDIR}@g" ${WRKSRC}/Makefile
post-build:
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>