freebsd-ports/sysutils/gnomefind/Makefile
Tilman Keskinoz 73b8332186 Unbreak
Feature safe:	yes
2010-07-02 19:43:38 +00:00

35 lines
872 B
Makefile

# New ports collection makefile for: gnomefind
# Date created: 26 May 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gnomefind
PORTVERSION= 1.0.2
PORTREVISION= 8
CATEGORIES= sysutils gnome
MASTER_SITES= SF/gnome-find/gnome-find-stable/${PORTVERSION}
DISTNAME= gnome-find-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical version of the GNU "find" utility
USE_GNOME= gnomehack gnomeprefix libglade
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-lgnuregex -L${LOCALBASE}/lib"
MAN1= gnome-find.1
.include <bsd.port.pre.mk>
post-patch:
@${GREP} -lR "<regex\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|<regex\.h>|<gnuregex.h>|g'
.if ${OSVERSION} >= 800023
${REINPLACE_CMD} -e "s,^int readlink,//int readlink," \
${WRKSRC}/src/listfile.c
.endif
.include <bsd.port.post.mk>