60d1a83c2a
- 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
31 lines
833 B
Makefile
31 lines
833 B
Makefile
# 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>
|