2002-04-29 23:45:09 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2002/04/30 03:45:09 jsyn Exp $
|
2001-06-01 05:12:30 -04:00
|
|
|
|
2001-08-04 03:42:04 -04:00
|
|
|
COMMENT= "source code auditing tool"
|
2001-06-01 05:12:30 -04:00
|
|
|
|
2002-04-29 23:45:09 -04:00
|
|
|
DISTNAME= rats-1.4
|
2001-06-01 05:12:30 -04:00
|
|
|
CATEGORIES= devel security
|
2002-04-29 23:45:09 -04:00
|
|
|
NEED_VERSION= 1.525
|
2001-06-01 05:12:30 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.securesw.com/rats/
|
|
|
|
|
2001-07-22 01:39:20 -04:00
|
|
|
MAINTAINER= Jason Peel <jsyn@openbsd.org>
|
2001-06-01 05:12:30 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://www.securesw.com/rats/
|
|
|
|
|
|
|
|
LIB_DEPENDS= expat::textproc/expat
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu dest
|
|
|
|
CONFIGURE_ARGS+= --with-expat-lib=${LOCALBASE}/lib \
|
2001-11-18 07:10:25 -05:00
|
|
|
--with-expat-include=${LOCALBASE}/include \
|
|
|
|
--libdir=${WRKINST}${PREFIX}/share/rats
|
2001-11-12 17:52:05 -05:00
|
|
|
MAKE_FLAGS= CFLAGS='${CFLAGS} -I${LOCALBASE}/include \
|
|
|
|
-DHAVE_LIBEXPAT=1 -DHAVE_EXPAT_H=1 \
|
2001-11-18 07:10:25 -05:00
|
|
|
-DLIBDIR=\"${LOCALBASE}/share/rats\"'
|
2001-06-01 05:12:30 -04:00
|
|
|
|
|
|
|
ALL_TARGET= rats
|
2001-11-12 17:52:05 -05:00
|
|
|
NO_REGRESS= Yes
|
2001-06-01 05:12:30 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rats
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/rats
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|