diff options
author | Will Andrews <will@FreeBSD.org> | 2000-07-15 17:04:36 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-07-15 17:04:36 +0000 |
commit | c0de6bd4989e13a1d71a08be6f5a6e4aa9612898 (patch) | |
tree | 775e28548c918cc30f09f2021299d79a94c3bcbe /graphics/netpbm | |
parent | Fix MASTER_SITES; use USE_AUTOMAKE; add WWW. (diff) |
Update to 9.6.
PR: 19929
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes:
svn path=/head/; revision=30662
Diffstat (limited to 'graphics/netpbm')
-rw-r--r-- | graphics/netpbm/Makefile | 2 | ||||
-rw-r--r-- | graphics/netpbm/distinfo | 2 | ||||
-rw-r--r-- | graphics/netpbm/files/patch-bb | 30 | ||||
-rw-r--r-- | graphics/netpbm/files/patch-bd | 4 | ||||
-rw-r--r-- | graphics/netpbm/files/patch-be | 4 | ||||
-rw-r--r-- | graphics/netpbm/files/patch-bf | 30 | ||||
-rw-r--r-- | graphics/netpbm/files/patch-bg | 4 | ||||
-rw-r--r-- | graphics/netpbm/files/patch-by | 43 |
8 files changed, 85 insertions, 34 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile index a9100cc7a444..4fcb24693863 100644 --- a/graphics/netpbm/Makefile +++ b/graphics/netpbm/Makefile @@ -6,7 +6,7 @@ # PORTNAME= netpbm -PORTVERSION= 9.5 +PORTVERSION= 9.6 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/graphics/netpbm/distinfo b/graphics/netpbm/distinfo index dd1cc00eac58..746aa00b9387 100644 --- a/graphics/netpbm/distinfo +++ b/graphics/netpbm/distinfo @@ -1 +1 @@ -MD5 (netpbm-9.5.tgz) = 978920c632ab4e9a4e5e4ae94dd86fe6 +MD5 (netpbm-9.6.tgz) = 4814ae9a14f8565e0c4935051d8c1d94 diff --git a/graphics/netpbm/files/patch-bb b/graphics/netpbm/files/patch-bb index 24a83d82da73..08b0ce4e393d 100644 --- a/graphics/netpbm/files/patch-bb +++ b/graphics/netpbm/files/patch-bb @@ -1,13 +1,13 @@ ---- Makefile.common.orig Sat Jul 1 04:59:36 2000 -+++ Makefile.common Sat Jul 1 12:00:00 2000 -@@ -97,24 +97,20 @@ - # BUILDING NETPBM LIBRARIES +--- Makefile.common.orig Sat Jul 8 06:14:26 2000 ++++ Makefile.common Sat Jul 15 00:00:00 2000 +@@ -103,24 +103,20 @@ $(LIBOBJECTS): %.o: %.c -+ $(CC) -c $(CFLAGS) $(INCLUDE) -o $@ $< + # Note that the user may have configured -I options into CFLAGS. ++ $(CC) -c $(INCLUDE) $(CFLAGS) -o $@ $< + -+$(LIBSOBJECTS): %.so: %.c - $(CC) -c $(CFLAGS) $(CFLAGS_SHLIB) $(INCLUDE) -o $@ $< ++$(SHLIBOBJECTS): %.lo: %.c + $(CC) -c $(INCLUDE) $(CFLAGS) $(CFLAGS_SHLIB) -o $@ $< -SONAME = lib$(LIBROOT).so.$(MAJ) +SONAME = lib$(LIBROOT).so.$(SOVER) @@ -26,13 +26,13 @@ - $(LIBOPT) - $(LD) $(LDSHLIB) -o $@ $(LIBOBJECTS) $(LIBOBJECTS_X) \ - `$(LIBOPT) $(LIBLIBS)` -lc -+$(SONAME): $(LIBSOBJECTS) $(LIBOBJECTS_X) $(LIBLIBS) $(LIBOPT) lib$(LIBROOT).a -+ $(LD) $(LDSHLIB) -o $@ $(LIBSOBJECTS) $(LIBOBJECTS_X) \ ++$(SONAME): $(SHLIBOBJECTS) $(LIBOBJECTS_X) $(LIBLIBS) $(LIBOPT) lib$(LIBROOT).a ++ $(LD) $(LDSHLIB) -o $@ $(SHLIBOBJECTS) $(LIBOBJECTS_X) \ + `$(LIBOPT) $(LIBLIBS)` # Static library. Unused by default, but with a small change to make files... lib$(LIBROOT).a: $(LIBOBJECTS) $(LIBOBJECTS_X) -@@ -142,7 +138,7 @@ +@@ -148,7 +144,7 @@ install.merge.common: $(MERGENAME) $(NOMERGEBINARIES) install.script cd $(INSTALLBINARIES) ; rm -f $(BINARIES) $(MERGE_ALIASES) ifneq ($(MERGENAME)x,x) @@ -41,7 +41,7 @@ cd $(INSTALLBINARIES) ; \ for i in $(MERGEBINARIES) $(MERGE_ALIASES) ; \ do ln -s $(MERGENAME)$(EXE) $$i ; \ -@@ -151,7 +147,7 @@ +@@ -157,7 +153,7 @@ ifneq ($(NOMERGEBINARIES)x,x) for x in $(NOMERGEBINARIES); \ do \ @@ -50,7 +50,7 @@ done endif -@@ -163,7 +159,7 @@ +@@ -169,7 +165,7 @@ # Make and Install know that pbmmake.exe counts as pbmmake. for x in $(BINARIES); \ do \ @@ -59,7 +59,7 @@ done .PHONY: install.script -@@ -171,7 +167,7 @@ +@@ -177,7 +173,7 @@ ifneq ($(SCRIPTS)x,x) for x in $(SCRIPTS); \ do \ @@ -68,7 +68,7 @@ done endif -@@ -204,7 +200,7 @@ +@@ -210,7 +206,7 @@ # directory when you compile your programs. for x in $(INTERFACE_HEADERS); \ do \ @@ -77,7 +77,7 @@ done # Install a static library -@@ -215,16 +211,15 @@ +@@ -221,16 +217,15 @@ # library, the dependency here will do that. .PHONY: install.staticlib install.staticlib: lib$(LIBROOT).a diff --git a/graphics/netpbm/files/patch-bd b/graphics/netpbm/files/patch-bd index 428bff66ef33..5dbd9003b2a1 100644 --- a/graphics/netpbm/files/patch-bd +++ b/graphics/netpbm/files/patch-bd @@ -1,5 +1,5 @@ --- pbm/Makefile.orig Thu Jun 29 01:06:06 2000 -+++ pbm/Makefile Sat Jul 1 12:00:00 2000 ++++ pbm/Makefile Sat Jul 15 00:00:00 2000 @@ -4,13 +4,12 @@ include $(SRCDIR)/Makefile.config @@ -20,7 +20,7 @@ # Library objects to be built and linked by Makefile.common: LIBOBJECTS = libpbm1.o libpbm2.o libpbm3.o libpbm4.o libpbm5.o -+LIBSOBJECTS = $(patsubst %.o, %.so, $(LIBOBJECTS)) ++SHLIBOBJECTS = $(patsubst %.o, %.lo, $(LIBOBJECTS)) ifneq (${VMS}x,x) LIBOBJECTS += libpbmvms.o endif diff --git a/graphics/netpbm/files/patch-be b/graphics/netpbm/files/patch-be index e0783e3163db..0712eb3542b0 100644 --- a/graphics/netpbm/files/patch-be +++ b/graphics/netpbm/files/patch-be @@ -1,5 +1,5 @@ --- pgm/Makefile.orig Thu Jun 29 01:05:55 2000 -+++ pgm/Makefile Sat Jul 1 12:00:00 2000 ++++ pgm/Makefile Sat Jul 15 00:00:00 2000 @@ -3,14 +3,13 @@ LIBROOT = pgm @@ -21,7 +21,7 @@ MERGE_OBJECTS = $(patsubst %,%.o2, $(MERGEBINARIES)) LIBOBJECTS = libpgm1.o libpgm2.o -+LIBSOBJECTS = $(patsubst %.o, %.so, $(LIBOBJECTS)) ++SHLIBOBJECTS = $(patsubst %.o, %.lo, $(LIBOBJECTS)) MANUALS1 = $(BINARIES) MANUALS3 = libpgm diff --git a/graphics/netpbm/files/patch-bf b/graphics/netpbm/files/patch-bf index b3b0a681522c..7aa5bdb109cb 100644 --- a/graphics/netpbm/files/patch-bf +++ b/graphics/netpbm/files/patch-bf @@ -1,5 +1,5 @@ ---- pnm/Makefile.orig Thu Jun 29 02:23:53 2000 -+++ pnm/Makefile Sat Jul 1 12:00:00 2000 +--- pnm/Makefile.orig Fri Jul 7 15:24:20 2000 ++++ pnm/Makefile Sat Jul 15 00:00:00 2000 @@ -3,8 +3,7 @@ LIBROOT = pnm @@ -10,11 +10,13 @@ PPMDIR = $(SRCDIR)/ppm LIBPPM = libppm.$(NETPBMLIBSUFFIX) -@@ -56,19 +55,20 @@ +@@ -55,20 +54,21 @@ + # build. PORTBINARIES = fitstopnm gemtopnm giftopnm \ - pnmalias pnmarith pnmcat pnmcomp pnmconvol pnmcrop \ +- pnmalias pnmarith pnmcat pnmcomp pnmconvol pnmcrop \ - pnmcut pnmdepth pnmenlarge pnmfile pnmflip pnmhisteq \ ++ pnmalias pnmarith pnmcat pnmcomp pnmconvol \ + pnmdepth pnmenlarge pnmflip pnmhisteq \ pnmhistmap pnminterp pnminvert pnmpad pnmpaste \ - pnmsmooth pnmsplit pnmtile pnmtoddif pnmtofits \ @@ -25,7 +27,7 @@ + pnmtosgi pnmtosir pnmtoxwd \ + rasttopnm sgitopnm sirtopnm zeisstopnm MATHBINARIES = pnmgamma pnmnlfilt pnmrotate pnmscale pnmshear -+SHHOPTBINARIES = pnmcut pnmfile pnmsplit pstopnm xwdtopnm ++SHHOPTBINARIES = pnmcrop pnmcut pnmfile pnmsplit pstopnm xwdtopnm # We don't include programs that have special library dependencies in the # merge scheme, because we don't want those dependencies to prevent us @@ -40,19 +42,21 @@ MERGE_OBJECTS = $(patsubst %,%.o2, $(MERGEBINARIES)) LIBOBJECTS = libpnm1.o libpnm2.o libpnm3.o libpnm4.o -+LIBSOBJECTS = $(patsubst %.o, %.so, $(LIBOBJECTS)) ++SHLIBOBJECTS = $(patsubst %.o, %.lo, $(LIBOBJECTS)) +LIBSHHOPT = $(SRCDIR)/shhopt/libshhopt.a MANUALS1 = $(BINARIES) $(SCRIPTS) MANUALS3 = libpnm -@@ -116,10 +118,12 @@ +@@ -116,12 +118,12 @@ .PHONY: all all: $(BINARIES) - $(MAKE) -C jbig all +- $(MAKE) -C fiasco all PHONY: merge merge: $(MERGENAME) $(NOMERGEBINARIES) - $(MAKE) -C jbig all +- $(MAKE) -C fiasco all + +$(SHHOPTBINARIES): %: %.o $(NETPBMLIBS) $(LIBOPT) $(LIBSHHOPT) + $(LD) $(LDFLAGS) -o $@ $@.o `$(LIBOPT) $(NETPBMLIBS)` \ @@ -60,7 +64,7 @@ ifeq ($(TIFFLIB_DIR),$(TIFFDIR)) # We're using the internal Tiff library, so make sure it's built -@@ -130,18 +134,18 @@ +@@ -132,18 +134,18 @@ endif # The Tiff library references math functions. @@ -84,15 +88,17 @@ ifeq ($(URTLIB_DIR),$(URTDIR)) # We're using the internal URT library, so make sure it's built -@@ -178,22 +182,20 @@ +@@ -180,25 +182,20 @@ # backward compatibility: program used to be gemtopbm rm -f $(INSTALLBINARIES)/gemtopbm ln -s $(INSTALLBINARIES)/gemtopnm$(EXE) $(INSTALLBINARIES)/gemtopbm - $(MAKE) -C jbig install.bin +- $(MAKE) -C fiasco install.bin .PHONY: install.merge install.merge: install.merge.common - $(MAKE) -C jbig install.bin +- $(MAKE) -C fiasco install.bin .PHONY: install.lib install.lib: install.lib.common @@ -100,12 +106,14 @@ .PHONY: install.man install.man: install.man.common - $(MAKE) -C jbig install.man - -+$(SRCDIR)/shhopt/libshhopt.a: +- $(MAKE) -C fiasco install.man ++ ++$(SRCDIR)/shhopt/libshhopt.a: + cd ../shhopt; $(MAKE) libshhopt.a .PHONY: clean clean: clean.common - $(MAKE) -C jbig clean +- $(MAKE) -C fiasco clean FORCE: diff --git a/graphics/netpbm/files/patch-bg b/graphics/netpbm/files/patch-bg index 6c1cbb4ca698..2326f083cb01 100644 --- a/graphics/netpbm/files/patch-bg +++ b/graphics/netpbm/files/patch-bg @@ -1,5 +1,5 @@ --- ppm/Makefile.orig Sat Jul 1 03:26:39 2000 -+++ ppm/Makefile Sat Jul 1 12:00:00 2000 ++++ ppm/Makefile Sat Jul 15 00:00:00 2000 @@ -3,8 +3,7 @@ LIBROOT = ppm @@ -52,7 +52,7 @@ MERGE_OBJECTS = $(patsubst %,%.o2, $(MERGEBINARIES)) LIBOBJECTS = libppm1.o libppm2.o libppm3.o libppm4.o libppm5.o bitio.o -+LIBSOBJECTS = $(patsubst %.o, %.so, $(LIBOBJECTS)) ++SHLIBOBJECTS = $(patsubst %.o, %.lo, $(LIBOBJECTS)) +LIBSHHOPT = $(SRCDIR)/shhopt/libshhopt.a MANUALS1 = $(BINARIES) $(SCRIPTS) diff --git a/graphics/netpbm/files/patch-by b/graphics/netpbm/files/patch-by new file mode 100644 index 000000000000..d09ae33997fe --- /dev/null +++ b/graphics/netpbm/files/patch-by @@ -0,0 +1,43 @@ +--- pnm/pnmcrop.c.orig Thu Jul 13 04:41:55 2000 ++++ pnm/pnmcrop.c Sat Jul 15 00:00:00 2000 +@@ -23,6 +23,7 @@ + #include <string.h> + #include <errno.h> + #include "pnm.h" ++#include "shhopt.h" + + enum bg_choice {BG_BLACK, BG_WHITE, BG_DEFAULT}; + +@@ -54,6 +55,15 @@ + + int black_opt, white_opt; + ++ /* Create the OptStruct structure describing our options */ ++ #define OPTENTRY(shortvalue,longvalue,typevalue,outputvalue,flagvalue) {\ ++ option_def[option_def_index].shortName = (shortvalue); \ ++ option_def[option_def_index].longName = (longvalue); \ ++ option_def[option_def_index].type = (typevalue); \ ++ option_def[option_def_index].arg = (outputvalue); \ ++ option_def[option_def_index].flags = (flagvalue); \ ++ option_def_index++; \ ++ } + option_def_index = 0; /* incremented by OPTENTRY */ + OPTENTRY(0, "black", OPT_FLAG, &black_opt, 0); + OPTENTRY(0, "white", OPT_FLAG, &white_opt, 0); +@@ -62,6 +72,7 @@ + OPTENTRY(0, "top", OPT_FLAG, &cmdline_p->top, 0); + OPTENTRY(0, "bottom", OPT_FLAG, &cmdline_p->bottom, 0); + OPTENTRY(0, "verbose", OPT_FLAG, &cmdline_p->verbose, 0); ++ option_def[option_def_index].type = OPT_END; + + /* Set the defaults */ + cmdline_p->left = cmdline_p->right = cmdline_p->top = cmdline_p->bottom +@@ -74,7 +85,7 @@ + opt.short_allowed = FALSE; /* We have no short (old-fashioned) options */ + opt.allowNegNum = FALSE; /* We have no parms that are negative numbers */ + +- pm_optParseOptions2(&argc, argv, opt, 0); ++ optParseOptions2(&argc, argv, opt, 0); + /* Uses and sets argc, argv, and some of *cmdline_p and others. */ + + if (argc-1 == 0) |