blob: 1f2104c317ad162c5d03efe0196ae25a799aa94c (
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
38
39
40
41
42
|
# 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>
|