freebsd-ports/security/arirang/Makefile
2018-09-10 01:59:08 +00:00

35 lines
998 B
Makefile

# Created by: Roman Shterenzon <roman@xpert.com>
# $FreeBSD$
PORTNAME= arirang
PORTVERSION= 2.03
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= security www
MASTER_SITES= http://monkey.org/~pilot/arirang/
MAINTAINER= ports@FreeBSD.org
COMMENT= Powerful webserver security scanner for network
LICENSE= BSD3CLAUSE
BROKEN_powerpc64= fails to compile: ruby.h:1381: error: wrong number of arguments specified for '__deprecated__' attribute
LIB_DEPENDS= lib${RUBY_NAME}.so:${RUBY_PORT}
USES= ssl
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
CFLAGS+= -I${LOCALBASE}/include/ruby-${RUBY_VER} -I${LOCALBASE}/include/ruby-${RUBY_VER}/${RUBY_ARCH}
CFLAGS+= -DRUBY_19
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/arirang ${STAGEDIR}${PREFIX}/sbin
@${MKDIR} ${STAGEDIR}${PREFIX}/share/arirang
${INSTALL_DATA} ${WRKSRC}/scanrule/*.uxe ${STAGEDIR}${PREFIX}/share/arirang
${INSTALL_DATA} ${WRKSRC}/script/*.rb ${STAGEDIR}${PREFIX}/share/arirang
.include <bsd.port.mk>