forked from Lainports/freebsd-ports
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
41 lines
961 B
Makefile
41 lines
961 B
Makefile
# Created by: alm
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bsmtrace
|
|
PORTVERSION= 1.4
|
|
PORTREVISION= 0
|
|
CATEGORIES= security
|
|
MASTER_SITES= LOCAL/csjp
|
|
|
|
MAINTAINER= alm@FreeBSD.org
|
|
COMMENT= BSM based intrusion detection system
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
OPTIONS_DEFINE= PCRE EXAMPLES
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MPCRE}
|
|
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
|
|
MAKE_ENV+= PCRE=1
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib -lpcre
|
|
.endif
|
|
|
|
pre-build:
|
|
${REINPLACE_CMD} -e \
|
|
's,/etc/bsmtrace.conf,${PREFIX}/etc/bsmtrace.conf,' \
|
|
${WRKSRC}/config.h
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.conf.5 \
|
|
${STAGEDIR}${MAN5PREFIX}/man/man5
|
|
|
|
.include <bsd.port.mk>
|