aboutsummaryrefslogtreecommitdiffstats
path: root/security/arirang/Makefile
blob: 68e39c5f37e8b999cb6693ab34d1599b0de2f47d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Roman Shterenzon <roman@xpert.com>
# $FreeBSD$

PORTNAME=   arirang
PORTVERSION=    2.03
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

USE_RUBY=   yes
USE_RUBY_EXTCONF=   yes
USE_LIBRUBY=    yes

USE_OPENSSL=    yes

CFLAGS+=    -I${LOCALBASE}/include/ruby-${RUBY_VER} -I${LOCALBASE}/include/ruby-${RUBY_VER}/${RUBY_ARCH}
CFLAGS+=    -DRUBY_19

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/arirang ${STAGEDIR}${PREFIX}/sbin
    ${MKDIR} ${STAGEDIR}${PREFIX}/share/arirang
    ${CHMOD} 755 ${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>