1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/lang/lafontaine/Makefile
2004-02-04 05:21:48 +00:00

43 lines
1.1 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: lafontaine
# Date created: Sep 6, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= lafontaine
PORTVERSION= 0.3R3
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://www.nongnu.org/lafontaine/archives/
DISTNAME= ${PORTNAME}-${PORTVERSION}-20020715
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical logo interpreter
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_BZIP2= yes
USE_REINPLACE= yes
USE_GNOME= gdkpixbuf gnometarget
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
post-patch:
@${REINPLACE_CMD} -e 's|pixmaps/$$PACKAGE|$$PACKAGE|g ; \
s|-O3|$$CFLAGS|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|"\./pixmaps/|PIXMAPDIR "/|g' ${WRKSRC}/src/callbacks.c
@${REINPLACE_CMD} -e \
's|exit()|exit(0)|g' ${WRKSRC}/src/proc.c
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|/share/pixmaps|/share|g'
.for file in src/lexer.en.l src/lexer.fr.l
@${REINPLACE_CMD} -e 's|\.##|.|g' ${WRKSRC}/${file}
.endfor
.include <bsd.port.mk>