aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-07-06 03:14:53 +0800
committertijl <tijl@FreeBSD.org>2014-07-06 03:14:53 +0800
commitf057cd4b2d903cbbded3a734de1cfe8320a2e8f5 (patch)
tree7d9fd42ab09a1016b9474486df702216696c0482 /security
parent1d48623795cbe79c2e8da6d19f8061aa2f164626 (diff)
downloadfreebsd-ports-gnome-f057cd4b2d903cbbded3a734de1cfe8320a2e8f5.tar.gz
freebsd-ports-gnome-f057cd4b2d903cbbded3a734de1cfe8320a2e8f5.tar.zst
freebsd-ports-gnome-f057cd4b2d903cbbded3a734de1cfe8320a2e8f5.zip
- Convert to USES=libtool
- Use INSTALL_TARGET=install-strip
Diffstat (limited to 'security')
-rw-r--r--security/yara/Makefile16
-rw-r--r--security/yara/pkg-plist2
2 files changed, 7 insertions, 11 deletions
diff --git a/security/yara/Makefile b/security/yara/Makefile
index ff66b03bdf67..e355898baf27 100644
--- a/security/yara/Makefile
+++ b/security/yara/Makefile
@@ -2,27 +2,23 @@
PORTNAME= yara
PORTVERSION= 2.1.0
+PORTREVISION= 1
CATEGORIES= security
MAINTAINER= wxs@FreeBSD.org
-COMMENT= A malware identification and classification tool
+COMMENT= Malware identification and classification tool
USE_GITHUB= yes
GH_ACCOUNT= plusvic
GH_TAGNAME= v2.1.0
GH_COMMIT= 6530e73
-USE_AUTOTOOLS= libtool aclocal autoheader automake
GNU_CONFIGURE= yes
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+INSTALL_TARGET= install-strip
+USES= libtool
+USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake
+AUTOMAKE_ARGS= -a -c -f
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
-pre-configure:
- @cd ${WRKSRC} && ${SH} ./bootstrap.sh
-
-pre-install:
- ${STRIP_CMD} ${WRKSRC}/libyara/.libs/libyara.so.2
-
.include <bsd.port.mk>
diff --git a/security/yara/pkg-plist b/security/yara/pkg-plist
index ba1799ab1d72..3a0e86200981 100644
--- a/security/yara/pkg-plist
+++ b/security/yara/pkg-plist
@@ -2,8 +2,8 @@ bin/yara
bin/yarac
include/yara.h
lib/libyara.a
-lib/libyara.la
lib/libyara.so
lib/libyara.so.2
+lib/libyara.so.2.1.0
man/man1/yara.1.gz
man/man1/yarac.1.gz