Index: head/devel/ucpp/Makefile =================================================================== --- head/devel/ucpp/Makefile (revision 422536) +++ head/devel/ucpp/Makefile (revision 422537) @@ -1,25 +1,23 @@ # Created by: Ying-Chieh Liao # $FreeBSD$ PORTNAME= ucpp -PORTVERSION= 1.3.2 +PORTVERSION= 1.3.4 CATEGORIES= devel -MASTER_SITES= GOOGLE_CODE +MASTER_SITES= # GITHUB MAINTAINER= crees@FreeBSD.org COMMENT= C preprocessor and lexer LICENSE= BSD3CLAUSE -BROKEN= Unfetchable (google code has gone away) +USE_GITHUB= yes +GH_ACCOUNT= scarabeusiv +USES= autoreconf libtool pathfix +PATHFIX_MAKEFILEIN= Makefile.am +GNU_CONFIGURE= yes -PLIST_FILES= bin/ucpp man/man1/ucpp.1.gz -USES= gmake - -WRKSRC= ${WRKDIR}/${PORTNAME} - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/ +post-patch: + ${REINPLACE_CMD} '/^CFLAGS/s/-ansi//' ${WRKSRC}/configure.ac .include Index: head/devel/ucpp/distinfo =================================================================== --- head/devel/ucpp/distinfo (revision 422536) +++ head/devel/ucpp/distinfo (revision 422537) @@ -1,2 +1,3 @@ -SHA256 (ucpp-1.3.2.tar.gz) = 983941d31ee8d366085cadf28db75eb1f5cb03ba1e5853b98f12f7f51c63b776 -SIZE (ucpp-1.3.2.tar.gz) = 96939 +TIMESTAMP = 1474029495 +SHA256 (scarabeusiv-ucpp-1.3.4_GH0.tar.gz) = 35958c5f3bb3851c03d3f442cc072cf27b21dc8478e1eecfce289b1c5aba951a +SIZE (scarabeusiv-ucpp-1.3.4_GH0.tar.gz) = 92999 Index: head/devel/ucpp/files/patch-Makefile =================================================================== --- head/devel/ucpp/files/patch-Makefile (revision 422536) +++ head/devel/ucpp/files/patch-Makefile (nonexistent) @@ -1,24 +0,0 @@ -Fixes clang build - ---- Makefile.orig 2011-08-09 05:13:15.000000000 +0000 -+++ Makefile 2011-08-29 21:10:34.000000000 +0000 -@@ -56,8 +56,8 @@ - #FLAGS = -O -m -DMEM_CHECK - - # for gcc --CC = gcc --FLAGS = -O3 -W -Wall -ansi -+CC ?= cc -+FLAGS = -ansi -DAUDIT -DMEM_DEBUG - #FLAGS = -g -W -Wall -ansi -DAUDIT -DMEM_DEBUG - #FLAGS = -O3 -mcpu=pentiumpro -fomit-frame-pointer -W -Wall -ansi -DMEM_CHECK - #FLAGS = -O -pg -W -Wall -ansi -DMEM_CHECK -@@ -88,7 +88,7 @@ - # ----- nothing should be changed below this line ----- - - COBJ = mem.o nhash.o cpp.o lexer.o assert.o macro.o eval.o --CFLAGS = $(FLAGS) -+CFLAGS += $(FLAGS) - - all: ucpp - @ar cq libucpp.a *.o Property changes on: head/devel/ucpp/files/patch-Makefile ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/ucpp/files/patch-cpp.c =================================================================== --- head/devel/ucpp/files/patch-cpp.c (revision 422536) +++ head/devel/ucpp/files/patch-cpp.c (revision 422537) @@ -1,22 +1,22 @@ --- cpp.c.orig 2008-10-01 21:15:41.000000000 +0400 -+++ cpp.c 2011-03-17 21:08:15.000000000 +0300 ++++ src/cpp.c 2011-03-17 21:08:15.000000000 +0300 @@ -65,8 +65,8 @@ FILE *emit_output; #ifdef STAND_ALONE -static char *system_macros_def[] = { STD_MACROS, 0 }; -static char *system_assertions_def[] = { STD_ASSERT, 0 }; +static char *system_macros_def[] = { "/usr/include", 0 }; +static char *system_assertions_def[] = { "", 0 }; #endif char *current_filename = 0, *current_long_filename = 0; @@ -2364,7 +2364,7 @@ char *filename = 0; int with_std_incpath = 1; int print_version = 0, print_defs = 0, print_asserts = 0; - int system_macros = 0, standard_assertions = 1; + int system_macros = 0, standard_assertions = 0; init_lexer_state(ls); ls->flags = DEFAULT_CPP_FLAGS; Index: head/devel/ucpp/pkg-descr =================================================================== --- head/devel/ucpp/pkg-descr (revision 422536) +++ head/devel/ucpp/pkg-descr (revision 422537) @@ -1,9 +1,9 @@ ucpp is a C preprocessor and lexer. It has the following goals: - Strict conformance to the C99 standard (with switches to disable some extensions and mimic C90 behaviour) - Low memory consumption - Possibility to use the code as a lexer (that outputs tokens directly) -WWW: http://code.google.com/p/ucpp/ +WWW: https://github.com/scarabeusiv/ucpp Index: head/devel/ucpp/pkg-plist =================================================================== --- head/devel/ucpp/pkg-plist (nonexistent) +++ head/devel/ucpp/pkg-plist (revision 422537) @@ -0,0 +1,14 @@ +bin/ucpp +include/libucpp/cpp.h +include/libucpp/hash.h +include/libucpp/mem.h +include/libucpp/nhash.h +include/libucpp/tune.h +include/libucpp/ucpp-config.h +include/libucpp/ucppi.h +lib/libucpp.a +lib/libucpp.so +lib/libucpp.so.13 +lib/libucpp.so.13.0.4 +libdata/pkgconfig/libucpp.pc +man/man1/ucpp.1.gz Property changes on: head/devel/ucpp/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property