freebsd-ports/sysutils/gnomefind/Makefile

36 lines
872 B
Makefile
Raw Normal View History

# 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
2000-10-05 09:17:31 +02:00
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'
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
.include <bsd.port.post.mk>