1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/net/l4ip/Makefile
Tijl Coosemans c88aaf5c89 Add missing USE_OPENSSL=yes
PR:		195796
2015-01-15 09:05:37 +00:00

30 lines
918 B
Makefile

# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
# $FreeBSD$
PORTNAME= l4ip
PORTVERSION= 1.0.294
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.lundman.net/ftp/l4ip/
DISTNAME= ${PORTNAME}-${PORTVERSION:C/([0-9]*)\.([0-9]*)\.([0-9]*)/v\1.\2.b\3/}
MAINTAINER= leeym@FreeBSD.org
COMMENT= L4 health check daemon for IPFILTER
USES= gmake tar:tgz
USE_OPENSSL= yes
WRKSRC= ${WRKDIR}/${PORTNAME}/src
post-patch:
${REINPLACE_CMD} -e 's,service_type_t,script_type_t,g' ${WRKSRC}/service.c
${REINPLACE_CMD} -e 's,/usr/sbin,/sbin,g' ${WRKSRC}/l4ip.conf
${REINPLACE_CMD} -e '/^CC/d' ${WRKSRC}/${MAKEFILE} ${WRKSRC}/../lion/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/l4ip ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/l4ip.conf ${STAGEDIR}${PREFIX}/etc/l4ip.conf.sample
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL} ${WRKSRC}/../samples/*.conf ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>