# Created by: Juan Salaverria # $FreeBSD$ PORTNAME= sagasu PORTVERSION= 2.0.12 CATEGORIES= textproc gnome MASTER_SITES= http://perso.b2b2c.ca/sarrazip/dev/ MAINTAINER= ports@FreeBSD.org COMMENT= A GNOME tool to find strings in a set of files LICENSE= GPLv2 # (or later) USES= pathfix pkgconfig gettext USE_GNOME= gnomehier libgnomeui USE_GMAKE= yes GNU_CONFIGURE= yes MAKE_JOBS_SAFE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib MAN1= sagasu.1 post-patch: @${REINPLACE_CMD} -e \ 's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e \ 's|-D.*_DISABLE_DEPRECATED||g' ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' ${WRKSRC}/src/util.h post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for f in AUTHORS INSTALL NEWS README THANKS TODO ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif .include