freebsd-ports/net-mgmt/icinga-classicweb/Makefile
Dirk Meyer 3561a46f28 - update libgd to 2.2.2
- new MASTER_SITES
- add security patch
PR:		210913
Submitted by:	Piotr Kubaj
MFH:		2016Q3
Security: CVE-2015-8874
Security: CVE-2016-3074
Security: http://www.openwall.com/lists/oss-security/2016/07/12/4
2016-07-20 09:33:31 +00:00

30 lines
801 B
Makefile

# $FreeBSD$
PORTNAME= icinga-classicweb
PORTREVISION= 2
DISTNAME= icinga-${PORTVERSION}
MAINTAINER= lme@FreeBSD.org
COMMENT= Classic web interface for Icinga 1 and 2
.include "${.CURDIR}/../icinga-core/Makefile.common"
LIB_DEPENDS+= libgd.so:graphics/gd
CONFIGURE_ARGS+=--disable-idoutils
CFLAGS+= -I${LOCALBASE}/include
ALL_TARGET= classicui-standalone
INSTALL_TARGET= install-classicui-standalone install-classicui-standalone-conf
post-patch:
@${REINPLACE_CMD} -e 's#775#755#g; s#664#644#g' \
${WRKSRC}/html/Makefile.in
# Use correct make(1) syntax to unbreak parallel builds
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
-E 's#cd (.+) && (make|\$$\(MAKE\))#$$(MAKE) -C \1#'
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${ICINGAWWWDIR}/ssi
.include <bsd.port.mk>