2000-06-06 14:52:06 +02:00
|
|
|
# New ports collection makefile for: gnomefind
|
2000-11-01 16:51:11 +01:00
|
|
|
# Date created: 26 May 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-06-06 14:52:06 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gnomefind
|
2003-08-01 20:52:15 +02:00
|
|
|
PORTVERSION= 1.0.2
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 8
|
2000-06-06 14:52:06 +02:00
|
|
|
CATEGORIES= sysutils gnome
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF/gnome-find/gnome-find-stable/${PORTVERSION}
|
2000-06-06 14:52:06 +02:00
|
|
|
DISTNAME= gnome-find-${PORTVERSION}
|
|
|
|
|
2003-07-29 11:12:37 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Graphical version of the GNU "find" utility
|
2000-06-06 14:52:06 +02:00
|
|
|
|
2003-08-01 20:52:15 +02:00
|
|
|
USE_GNOME= gnomehack gnomeprefix libglade
|
2000-06-06 14:52:06 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2000-10-05 09:17:31 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-lgnuregex -L${LOCALBASE}/lib"
|
2000-06-06 14:52:06 +02:00
|
|
|
|
|
|
|
MAN1= gnome-find.1
|
|
|
|
|
2008-04-04 01:25:04 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-08-01 20:52:15 +02:00
|
|
|
post-patch:
|
|
|
|
@${GREP} -lR "<regex\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|<regex\.h>|<gnuregex.h>|g'
|
2010-07-02 21:43:38 +02:00
|
|
|
.if ${OSVERSION} >= 800023
|
|
|
|
${REINPLACE_CMD} -e "s,^int readlink,//int readlink," \
|
|
|
|
${WRKSRC}/src/listfile.c
|
|
|
|
.endif
|
2000-08-04 17:29:09 +02:00
|
|
|
|
2008-04-04 01:25:04 +02:00
|
|
|
.include <bsd.port.post.mk>
|