diff options
Diffstat (limited to 'lang/lafontaine/Makefile')
-rw-r--r-- | lang/lafontaine/Makefile | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/lang/lafontaine/Makefile b/lang/lafontaine/Makefile index 40b112cedc57..71683fcb0304 100644 --- a/lang/lafontaine/Makefile +++ b/lang/lafontaine/Makefile @@ -19,22 +19,23 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_BZIP2= yes USE_REINPLACE= yes -USE_GNOME= gdkpixbuf +USE_GNOME= gdkpixbuf gnometarget +USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 501000 -BROKEN= "Does not compile on FreeBSD ${OSVERSION}" -.endif +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/$$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.post.mk> +.include <bsd.port.mk> |