freebsd-ports/textproc/sagasu/Makefile
Jeremy Messenger 6c8a175db8 Fix the build.
Reported by:	pointyhat via kris
Approved by:	portmgr (marcus)
2005-03-22 07:04:14 +00:00

33 lines
895 B
Makefile

# New ports collection makefile for: textproc/sagasu
# Date created: 10 Jul 2003
# Whom: Juan Salaverria <rael@vectorstar.net>
#
# $FreeBSD$
PORTNAME= sagasu
PORTVERSION= 2.0.6
PORTREVISION= 3
CATEGORIES= textproc gnome
MASTER_SITES= http://www3.sympatico.ca/sarrazip/dev/ \
http://demian.dyndns.org/src/
MAINTAINER= ports@FreeBSD.org
COMMENT= Sagasu is a GNOME tool to find strings in a set of files
USE_X_PREFIX= yes
USE_REINPLACE= yes
USE_GMAKE= yes
USE_LIBTOOL_VER=13
USE_GNOME= gnomehack gnomeprefix libgnomeui
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= sagasu.1
post-patch:
@${REINPLACE_CMD} -e 's|[(]datadir[)]/doc/$$(PACKAGE)-$$(VERSION)|(prefix)/share/doc/$$(PACKAGE)|g' \
${WRKSRC}/Makefile.in
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|-D.*_DISABLE_DEPRECATED||g'
.include <bsd.port.mk>