2e42bdc4dc
(URL of personals pages have recently changed on perso.b2b2c.ca and are now prefixed with a tilde character)
35 lines
856 B
Makefile
35 lines
856 B
Makefile
# 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+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= pathfix pkgconfig gettext gmake
|
|
USE_GNOME= libgnomeui
|
|
GNU_CONFIGURE= yes
|
|
|
|
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-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in AUTHORS NEWS README THANKS TODO
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|