blob: 8c9f77109c34e140d6b1e0c30641ea1fab6ce2b6 (
plain)
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
33
34
35
36
37
|
# Created by: Juan Salaverria <rael@vectorstar.net>
# $FreeBSD$
PORTNAME= sagasu
PORTVERSION= 2.0.12
PORTREVISION= 1
CATEGORIES= textproc gnome
MASTER_SITES= http://perso.b2b2c.ca/sarrazip/dev/
MAINTAINER= ports@FreeBSD.org
COMMENT= GNOME tool to find strings in a set of files
LICENSE= GPLv2 # (or later)
USES= pathfix pkgconfig gettext gmake
USE_GNOME= libgnomeui
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOCS
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:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in AUTHORS INSTALL NEWS README THANKS TODO
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>
|