1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/security/rats/Makefile
Pawel Pekala 1c04e7d73e - Add staging support
- Convert to new LIB_DEPENDS format, options framework
2014-07-11 15:13:05 +00:00

34 lines
789 B
Makefile

# Created by: Kris Kennaway <kris@FreeBSD.org>
# $FreeBSD$
PORTNAME= rats
PORTVERSION= 2.3
CATEGORIES= security devel
MASTER_SITES= https://www.fortify.com/downloads2/public/ \
http://redundancy.redundancy.org/mirror/
MAINTAINER= ports@FreeBSD.org
COMMENT= Source code auditing tool
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
GNU_CONFIGURE= yes
USES= gmake
CONFIGURE_ARGS+=--with-expat-lib=${LOCALBASE}/lib \
--with-expat-include=${LOCALBASE}/include/xml \
--datadir=${DATADIR}
ALL_TARGET= ${PORTNAME}
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -E '/^CFLAGS/! s,(BIN|LIB|MAN|SHARE)DIR),DESTDIR)$$(&,g' \
${WRKSRC}/Makefile.in
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>