54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
41 lines
994 B
Makefile
41 lines
994 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.7
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc gnome
|
|
MASTER_SITES= http://www3.sympatico.ca/sarrazip/dev/ \
|
|
http://demian.dyndns.org/src/
|
|
|
|
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_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
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>
|