mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
41 lines
951 B
Makefile
41 lines
951 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.8
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc gnome
|
|
MASTER_SITES= http://www3.sympatico.ca/sarrazip/dev/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A GNOME tool to find strings in a set of files
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_GNOME= gnomehack gnomeprefix libgnomeui
|
|
USE_GETTEXT= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= 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
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in AUTHORS INSTALL NEWS README THANKS TODO
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|