aboutsummaryrefslogtreecommitdiff
path: root/security/rats
diff options
context:
space:
mode:
authorNiels Heinen <niels@FreeBSD.org>2010-03-21 20:08:58 +0000
committerNiels Heinen <niels@FreeBSD.org>2010-03-21 20:08:58 +0000
commit1f9c24e089684bd8897a1fb5ad6ca42d1170e263 (patch)
tree90a847d0c4a484ec90f6066f8114974cc2275346 /security/rats
parentf1cd5913ef79c2a13a96b4092d1a9c61fcd372ed (diff)
downloadports-1f9c24e089684bd8897a1fb5ad6ca42d1170e263.tar.gz
ports-1f9c24e089684bd8897a1fb5ad6ca42d1170e263.zip
Notes
Diffstat (limited to 'security/rats')
-rw-r--r--security/rats/Makefile17
-rw-r--r--security/rats/distinfo6
-rw-r--r--security/rats/pkg-plist16
3 files changed, 20 insertions, 19 deletions
diff --git a/security/rats/Makefile b/security/rats/Makefile
index b3f245afc739..20867a272328 100644
--- a/security/rats/Makefile
+++ b/security/rats/Makefile
@@ -6,12 +6,9 @@
#
PORTNAME= rats
-PORTVERSION= 2.1
-PORTREVISION= 2
+PORTVERSION= 2.3
CATEGORIES= security devel
-MASTER_SITES= http://www.fortify.com/servlet/downloads/public/ \
- ${MASTER_SITE_PACKETSTORM}
-MASTER_SITE_SUBDIR= UNIX/security
+MASTER_SITES= http://www.fortify.com/servlet/download/public/
MAINTAINER= lx@FreeBSD.org
COMMENT= Source code auditing tool
@@ -19,15 +16,17 @@ COMMENT= Source code auditing tool
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
GNU_CONFIGURE= yes
+USE_GMAKE= yes
CONFIGURE_ARGS+=--with-expat-lib=${LOCALBASE}/lib \
- --with-expat-include=${LOCALBASE}/include/xml
+ --with-expat-include=${LOCALBASE}/include/xml \
+ --datadir=${DATADIR}
-ALL_TARGET= rats
+ALL_TARGET= ${PORTNAME}
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/rats
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/rats
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
MAN1= rats.1
diff --git a/security/rats/distinfo b/security/rats/distinfo
index 1bde3472e6c9..76cec641b8de 100644
--- a/security/rats/distinfo
+++ b/security/rats/distinfo
@@ -1,3 +1,3 @@
-MD5 (rats-2.1.tar.gz) = adf31806f1eff0c353abcfd57653ecb3
-SHA256 (rats-2.1.tar.gz) = ec9fac2765b655c03cede8c5920de3226581f1e626be314bce95f4d0ac9aadd9
-SIZE (rats-2.1.tar.gz) = 326930
+MD5 (rats-2.3.tar.gz) = 339ebe60fc61789808a457f6f967d226
+SHA256 (rats-2.3.tar.gz) = 36872ab4ed55058821d49cd0d1f2c36f1505dae129a697083717a95924cd1478
+SIZE (rats-2.3.tar.gz) = 391573
diff --git a/security/rats/pkg-plist b/security/rats/pkg-plist
index e5277485bfa2..f7b36ba7e803 100644
--- a/security/rats/pkg-plist
+++ b/security/rats/pkg-plist
@@ -1,8 +1,10 @@
bin/rats
-share/rats-c.xml
-share/rats-openssl.xml
-share/rats-perl.xml
-share/rats-php.xml
-share/rats-python.xml
-%%PORTDOCS%%share/doc/rats/README
-%%PORTDOCS%%@dirrm share/doc/rats
+%%DATADIR%%/rats-c.xml
+%%DATADIR%%/rats-openssl.xml
+%%DATADIR%%/rats-perl.xml
+%%DATADIR%%/rats-php.xml
+%%DATADIR%%/rats-python.xml
+%%DATADIR%%/rats-ruby.xml
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%DATADIR%%