diff options
author | miwi <miwi@FreeBSD.org> | 2006-07-30 05:55:50 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-07-30 05:55:50 +0800 |
commit | 4ac24d71b7683c248ddedff2ec5e64a19fb4ff3e (patch) | |
tree | 747f7624b37878d60c4a892c918a9948a6b2576d /lang | |
parent | 6a0479965be09ef6e05ed1f66522386c654a2371 (diff) | |
download | freebsd-ports-gnome-4ac24d71b7683c248ddedff2ec5e64a19fb4ff3e.tar.gz freebsd-ports-gnome-4ac24d71b7683c248ddedff2ec5e64a19fb4ff3e.tar.zst freebsd-ports-gnome-4ac24d71b7683c248ddedff2ec5e64a19fb4ff3e.zip |
- Pass maintainership to submitter
- Update to 0.4.1
PR: ports/100927
Submitted by: Stanislav Sedov <ssedov(at)mbsd.msk.ru>
Approved by: krion (mentor)
Diffstat (limited to 'lang')
-rw-r--r-- | lang/lafontaine/Makefile | 34 | ||||
-rw-r--r-- | lang/lafontaine/distinfo | 6 | ||||
-rw-r--r-- | lang/lafontaine/files/patch-configure | 12 | ||||
-rw-r--r-- | lang/lafontaine/files/patch-src_lexer.en.l | 11 | ||||
-rw-r--r-- | lang/lafontaine/files/patch-src_lexer.fr.l | 11 | ||||
-rw-r--r-- | lang/lafontaine/files/patch-src_main.c | 11 | ||||
-rw-r--r-- | lang/lafontaine/files/patch-src_proc.c | 11 | ||||
-rw-r--r-- | lang/lafontaine/files/patch-src_rc.c | 39 | ||||
-rw-r--r-- | lang/lafontaine/pkg-plist | 32 |
9 files changed, 128 insertions, 39 deletions
diff --git a/lang/lafontaine/Makefile b/lang/lafontaine/Makefile index 1af0a5caae48..fda322482ff0 100644 --- a/lang/lafontaine/Makefile +++ b/lang/lafontaine/Makefile @@ -7,35 +7,27 @@ # PORTNAME= lafontaine -PORTVERSION= 0.3R3 -PORTREVISION= 2 +PORTVERSION= 0.4.1 CATEGORIES= lang MASTER_SITES= http://www.nongnu.org/lafontaine/archives/ -DISTNAME= ${PORTNAME}-${PORTVERSION}-20020715 +DISTNAME= ${PORTNAME}_0.4-1 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ssedov@mbsd.msk.ru COMMENT= Graphical logo interpreter -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +WRKSRC= ${WRKDIR}/${PORTNAME}-0.4 -USE_BZIP2= yes -USE_GNOME= gdkpixbuf gnometarget +USE_X_PREFIX= yes +USE_GNOME= gnomehack gnometarget gtk20 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 +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS= --disable-nls +PLIST_SUB+= NLS="@comment " +.endif .include <bsd.port.mk> diff --git a/lang/lafontaine/distinfo b/lang/lafontaine/distinfo index f53bcd190a38..5406537e2274 100644 --- a/lang/lafontaine/distinfo +++ b/lang/lafontaine/distinfo @@ -1,3 +1,3 @@ -MD5 (lafontaine-0.3R3-20020715.tar.bz2) = 77e06e8b5acafa9cd210090afece8c00 -SHA256 (lafontaine-0.3R3-20020715.tar.bz2) = fe65fd4e69939a0c232679ef777838d4fad3f342475bc1a422dc1cfd393b36d7 -SIZE (lafontaine-0.3R3-20020715.tar.bz2) = 233738 +MD5 (lafontaine_0.4-1.tar.gz) = 6d47af1cf65c183487cd0ad2c803dd48 +SHA256 (lafontaine_0.4-1.tar.gz) = 9741e9fefc2b36fe858085d58684293d15a3bc379085acffc4cd479908d82d1e +SIZE (lafontaine_0.4-1.tar.gz) = 510463 diff --git a/lang/lafontaine/files/patch-configure b/lang/lafontaine/files/patch-configure new file mode 100644 index 000000000000..31bc110a51c4 --- /dev/null +++ b/lang/lafontaine/files/patch-configure @@ -0,0 +1,12 @@ +--- configure.orig Thu Jul 27 22:51:55 2006 ++++ configure Thu Jul 27 22:52:37 2006 +@@ -5630,9 +5630,6 @@ + done + test -n "$YACC" || YACC="yacc" + +-# default CC options +-CFLAGS="-O3" +- + # debugging option + # Check whether --enable-debug or --disable-debug was given. + if test "${enable_debug+set}" = set; then diff --git a/lang/lafontaine/files/patch-src_lexer.en.l b/lang/lafontaine/files/patch-src_lexer.en.l new file mode 100644 index 000000000000..6b4ed2677846 --- /dev/null +++ b/lang/lafontaine/files/patch-src_lexer.en.l @@ -0,0 +1,11 @@ +--- src/lexer.en.l.bak Tue Jul 16 06:15:12 2002 ++++ src/lexer.en.l Thu Jul 27 22:45:32 2006 +@@ -70,7 +70,7 @@ + #define IS_TOK_WITH_VAL(tok, type, val) \ + { \ + lextxt = yylex; \ +- yylval.##type = val; \ ++ yylval.type = val; \ + return(tok); \ + } + #endif diff --git a/lang/lafontaine/files/patch-src_lexer.fr.l b/lang/lafontaine/files/patch-src_lexer.fr.l new file mode 100644 index 000000000000..32b749755562 --- /dev/null +++ b/lang/lafontaine/files/patch-src_lexer.fr.l @@ -0,0 +1,11 @@ +--- src/lexer.fr.l.bak Tue Aug 6 15:07:50 2002 ++++ src/lexer.fr.l Thu Jul 27 22:45:32 2006 +@@ -73,7 +73,7 @@ + #define IS_TOK_WITH_VAL(tok, type, val) \ + { \ + lextxt = yylex; \ +- yylval.##type = val; \ ++ yylval.type = val; \ + return(tok); \ + } + #endif diff --git a/lang/lafontaine/files/patch-src_main.c b/lang/lafontaine/files/patch-src_main.c new file mode 100644 index 000000000000..171e4837812a --- /dev/null +++ b/lang/lafontaine/files/patch-src_main.c @@ -0,0 +1,11 @@ +--- src/main.c.orig Thu Jul 27 22:39:02 2006 ++++ src/main.c Thu Jul 27 22:39:28 2006 +@@ -41,6 +41,8 @@ + guint _alloc_cnt, _free_cnt, _null_free_cnt; + #endif + ++void turtle_init(struct s_turtle *); ++ + + /*gboolean test(gpointer nil) + { diff --git a/lang/lafontaine/files/patch-src_proc.c b/lang/lafontaine/files/patch-src_proc.c new file mode 100644 index 000000000000..d64d759c7678 --- /dev/null +++ b/lang/lafontaine/files/patch-src_proc.c @@ -0,0 +1,11 @@ +--- src/proc.c.bak Sun May 19 02:11:05 2002 ++++ src/proc.c Thu Jul 27 22:45:32 2006 +@@ -92,7 +92,7 @@ + /*g_critical*/ + printf("procedure \"%s\" contexts list not empty !\n", + PROC(myproc)->name); +- exit(); ++ exit(0); + //g_slist_foreach(PROC(myproc)->contexts, context_free_from_list, NULL); + //g_slist_free(PROC(myproc)->contexts); + } diff --git a/lang/lafontaine/files/patch-src_rc.c b/lang/lafontaine/files/patch-src_rc.c new file mode 100644 index 000000000000..1c05514eb02b --- /dev/null +++ b/lang/lafontaine/files/patch-src_rc.c @@ -0,0 +1,39 @@ +--- src/rc.c.orig Thu Jul 27 22:40:17 2006 ++++ src/rc.c Thu Jul 27 22:43:36 2006 +@@ -39,6 +39,12 @@ + #include "rc.h" + + struct s_turtle my_turtle; ++void rc_parse_group(GScanner *scanner); ++void rc_parse_coresave(GScanner *scanner); ++void rc_parse_history(GScanner *scanner); ++void rc_parse_locales(GScanner *scanner); ++void rc_parse_alocale(GScanner *scanner); ++void rc_parse_keyval(GScanner *scanner, struct s_keyval *keyval); + + + static const GScannerConfig gtk_rc_scanner_config = +@@ -152,6 +158,7 @@ + rc_parse_coresave(scanner); + break; + default: ++ break; + } + + } +@@ -176,6 +183,7 @@ + printf("coredump file: %s\n", keyval.value); + break; + default: ++ break; + } + } + +@@ -203,6 +211,7 @@ + printf("history file: %s\n", keyval.value); + break; + default: ++ break; + } + } + diff --git a/lang/lafontaine/pkg-plist b/lang/lafontaine/pkg-plist index aa8d52be9ea4..26520874bded 100644 --- a/lang/lafontaine/pkg-plist +++ b/lang/lafontaine/pkg-plist @@ -1,16 +1,18 @@ bin/lafontaine -share/lafontaine/animator.png -share/lafontaine/animator.xcf -share/lafontaine/execute.xpm -share/lafontaine/gypsum.flower.2.fr.logo -share/lafontaine/gypsum.flower.fr.logo -share/lafontaine/help.xpm -share/lafontaine/open.xpm -share/lafontaine/quit.xpm -share/lafontaine/save.xpm -share/lafontaine/spirelo.fr.logo -share/lafontaine/stars.en.logo -share/lafontaine/test1.logo -share/lafontaine/turtle2.png -share/lafontaine/turtle3.png -@dirrm share/lafontaine +%%DATADIR%%/gypsum.flower.2.fr.logo +%%DATADIR%%/gypsum.flower.fr.logo +%%DATADIR%%/spirelo.fr.logo +%%DATADIR%%/stars.en.logo +%%DATADIR%%/test1.logo +%%NLS%%share/locale/fr/LC_MESSAGES/lafontaine.mo +share/pixmaps/lafontaine/animator.png +share/pixmaps/lafontaine/animator.xcf +share/pixmaps/lafontaine/execute.xpm +share/pixmaps/lafontaine/help.xpm +share/pixmaps/lafontaine/open.xpm +share/pixmaps/lafontaine/quit.xpm +share/pixmaps/lafontaine/save.xpm +share/pixmaps/lafontaine/turtle2.png +share/pixmaps/lafontaine/turtle3.png +@dirrm share/pixmaps/lafontaine +@dirrm %%DATADIR%% |