aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-03-18 11:10:18 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-03-18 11:10:18 +0800
commit6d4051873df76cd66ae6dd284638e94878355e06 (patch)
tree896ec4c60cdc1b6a164fa1815b272fcd3dfcd8a9
parent735f7bd7dd3ebca55b065d3d17e7006cc555021e (diff)
downloadfreebsd-ports-gnome-6d4051873df76cd66ae6dd284638e94878355e06.tar.gz
freebsd-ports-gnome-6d4051873df76cd66ae6dd284638e94878355e06.tar.zst
freebsd-ports-gnome-6d4051873df76cd66ae6dd284638e94878355e06.zip
- Add LICENSE
- Switch to options helpers
-rw-r--r--security/rats/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/security/rats/Makefile b/security/rats/Makefile
index 27df55efbf97..7878919cc781 100644
--- a/security/rats/Makefile
+++ b/security/rats/Makefile
@@ -10,11 +10,14 @@ MASTER_SITES= https://www.fortify.com/downloads2/public/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Source code auditing tool
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
GNU_CONFIGURE= yes
USES= gmake
-CONFIGURE_ARGS+=--with-expat-lib=${LOCALBASE}/lib \
+CONFIGURE_ARGS= --with-expat-lib=${LOCALBASE}/lib \
--with-expat-include=${LOCALBASE}/include/xml \
--datadir=${DATADIR}
@@ -26,7 +29,7 @@ post-patch:
@${REINPLACE_CMD} -E '/^CFLAGS/! s,(BIN|LIB|MAN|SHARE)DIR),DESTDIR)$$(&,g' \
${WRKSRC}/Makefile.in
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}