ports/183175: [PATCH] textproc/the_silver_searcher: Convert to staging

Mathieu Arnold mat at FreeBSD.org
Tue Oct 22 08:10:01 UTC 2013


>Number:         183175
>Category:       ports
>Synopsis:       [PATCH] textproc/the_silver_searcher: Convert to staging
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 22 08:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Mathieu Arnold
>Release:        FreeBSD 9.2-RELEASE i386
>Organization:
Absolight
>Environment:
System: FreeBSD aragorn.in.absolight.net 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 03:52:52 UTC
>Description:
- Convert to staging
- Use new LIB_DEPENDS format
- convert some spaces to tabs to shut portlint up

Port maintainer (gslin at gslin.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- the_silver_searcher-0.17.patch begins here ---
diff -ruN /usr/ports/textproc/the_silver_searcher/Makefile ./Makefile
--- /usr/ports/textproc/the_silver_searcher/Makefile	2013-10-11 11:51:25.000000000 +0200
+++ ./Makefile	2013-10-22 10:01:43.000000000 +0200
@@ -1,5 +1,5 @@
 # Created by: Gea-Suan Lin <gslin at gslin.org>
-# $FreeBSD: textproc/the_silver_searcher/Makefile 330062 2013-10-11 09:51:25Z knu $
+# $FreeBSD: head/textproc/the_silver_searcher/Makefile 330062 2013-10-11 09:51:25Z knu $
 
 PORTNAME=	the_silver_searcher
 PORTVERSION=	0.17
@@ -9,7 +9,7 @@
 MAINTAINER=	gslin at gslin.org
 COMMENT=	A code-searching tool similar to ack but faster
 
-LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre
+LIB_DEPENDS=	libpcre.so:${PORTSDIR}/devel/pcre
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	ggreer
@@ -21,15 +21,12 @@
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	LZMA_LIBS=-llzma
 .if exists(/usr/include/lzma.h)
-CONFIGURE_ARGS+= LZMA_CFLAGS=-I/usr/include
+CONFIGURE_ARGS+=	LZMA_CFLAGS=-I/usr/include
 .else
-LIB_DEPENDS+=	lzma:${PORTSDIR}/archivers/xz
-CONFIGURE_ARGS+= LZMA_CFLAGS=-I${LOCALBASE}/include
+LIB_DEPENDS+=	liblzma.so:${PORTSDIR}/archivers/xz
+CONFIGURE_ARGS+=	LZMA_CFLAGS=-I${LOCALBASE}/include
 .endif
 USE_AUTOTOOLS=	aclocal autoconf autoheader automake
 USES=		pkgconfig
 
-MAN1=		ag.1
-
-NO_STAGE=	yes
 .include <bsd.port.mk>
diff -ruN /usr/ports/textproc/the_silver_searcher/pkg-descr ./pkg-descr
--- /usr/ports/textproc/the_silver_searcher/pkg-descr	2012-10-07 00:37:54.000000000 +0200
+++ ./pkg-descr	2013-10-22 10:02:37.000000000 +0200
@@ -1,4 +1,4 @@
 An attempt to make something better than ack, which itself is better than
 grep.
 
-WWW:	https://github.com/ggreer/the_silver_searcher
+WWW: https://github.com/ggreer/the_silver_searcher
diff -ruN /usr/ports/textproc/the_silver_searcher/pkg-plist ./pkg-plist
--- /usr/ports/textproc/the_silver_searcher/pkg-plist	2013-10-11 11:51:25.000000000 +0200
+++ ./pkg-plist	2013-10-22 09:42:48.000000000 +0200
@@ -1,4 +1,5 @@
 bin/ag
+man/man1/ag.1.gz
 share/the_silver_searcher/completions/ag.bashcomp.sh
 @dirrm share/the_silver_searcher/completions
 @dirrm share/the_silver_searcher
--- the_silver_searcher-0.17.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list