Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2014 19:14:53 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360803 - head/security/yara
Message-ID:  <201407051914.s65JErWK018428@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sat Jul  5 19:14:53 2014
New Revision: 360803
URL: http://svnweb.freebsd.org/changeset/ports/360803
QAT: https://qat.redports.org/buildarchive/r360803/

Log:
  - Convert to USES=libtool
  - Use INSTALL_TARGET=install-strip

Modified:
  head/security/yara/Makefile
  head/security/yara/pkg-plist

Modified: head/security/yara/Makefile
==============================================================================
--- head/security/yara/Makefile	Sat Jul  5 19:12:54 2014	(r360802)
+++ head/security/yara/Makefile	Sat Jul  5 19:14:53 2014	(r360803)
@@ -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>

Modified: head/security/yara/pkg-plist
==============================================================================
--- head/security/yara/pkg-plist	Sat Jul  5 19:12:54 2014	(r360802)
+++ head/security/yara/pkg-plist	Sat Jul  5 19:14:53 2014	(r360803)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407051914.s65JErWK018428>