aboutsummaryrefslogtreecommitdiff
path: root/textproc/sagasu/Makefile
blob: c36373bf2afd36dc930ad324033e9289d4614358 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:	textproc/sagasu
# Date created:				10 Jul 2003
# Whom:					Juan Salaverria <rael@vectorstar.net>
#
# $FreeBSD$

PORTNAME=	sagasu
PORTVERSION=	2.0.5
PORTREVISION=	1
CATEGORIES=	textproc gnome
MASTER_SITES=	http://www3.sympatico.ca/sarrazip/dev/ \
		http://demian.dyndns.org/src/

MAINTAINER=	rael@vectorstar.net
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=	yes
USE_GNOME=	gnomehack gnomeprefix libgnomeui
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

MAN1=		sagasu.1

PLIST_SUB=	PORTVERSION=${PORTVERSION}

post-patch:
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ;' ${WRKSRC}/configure

.include <bsd.port.mk>