diff options
Diffstat (limited to 'graphics/netpbm')
-rw-r--r-- | graphics/netpbm/Makefile | 5 | ||||
-rw-r--r-- | graphics/netpbm/distinfo | 2 | ||||
-rw-r--r-- | graphics/netpbm/files/Makefile.config.FreeBSD | 6 | ||||
-rw-r--r-- | graphics/netpbm/files/manpages | 4 | ||||
-rw-r--r-- | graphics/netpbm/files/patch-ba | 23 | ||||
-rw-r--r-- | graphics/netpbm/files/patch-bb | 51 | ||||
-rw-r--r-- | graphics/netpbm/files/patch-bd | 20 | ||||
-rw-r--r-- | graphics/netpbm/files/patch-be | 15 | ||||
-rw-r--r-- | graphics/netpbm/files/patch-bf | 24 | ||||
-rw-r--r-- | graphics/netpbm/files/patch-bg | 18 | ||||
-rw-r--r-- | graphics/netpbm/files/patch-cl | 28 | ||||
-rw-r--r-- | graphics/netpbm/pkg-plist | 3 |
12 files changed, 104 insertions, 95 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile index bac21ae3845..a528f3ff638 100644 --- a/graphics/netpbm/Makefile +++ b/graphics/netpbm/Makefile @@ -6,7 +6,7 @@ # PORTNAME= netpbm -PORTVERSION= 9.16 +PORTVERSION= 9.17 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -21,8 +21,6 @@ LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \ USE_GMAKE= yes MAKE_ENV= LN="${LN}" RANLIB="${RANLIB}" MAKEFILE= GNUmakefile -ALL_TARGET= merge -INSTALL_TARGET= install-merge install-dev INSTALLS_SHLIB= yes .include <bsd.port.pre.mk> @@ -32,7 +30,6 @@ INSTALLS_SHLIB= yes post-patch: @${PERL} -pi -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/pm_config.h @${PERL} -pi -e 's|<shhopt.h>|<pm_shhopt.h>|g' ${WRKSRC}/pbm/pm.h - @${ECHO} '#include "pm.h"' > ${WRKSRC}/pbmplus.h @${CP} ${FILESDIR}/Makefile.config.FreeBSD ${WRKSRC}/Makefile.config @${LN} -sf ${WRKSRC}/shhopt/shhopt.h ${WRKSRC}/shhopt/pm_shhopt.h diff --git a/graphics/netpbm/distinfo b/graphics/netpbm/distinfo index e31eec000b8..3703bf809b9 100644 --- a/graphics/netpbm/distinfo +++ b/graphics/netpbm/distinfo @@ -1 +1 @@ -MD5 (netpbm-9.16.tgz) = c023bfb5d2cc7c1675b91588b27f4463 +MD5 (netpbm-9.17.tgz) = ac6dcf7810c32fba1f444629eb515f0a diff --git a/graphics/netpbm/files/Makefile.config.FreeBSD b/graphics/netpbm/files/Makefile.config.FreeBSD index 54d44255d04..3e7652dc4e1 100644 --- a/graphics/netpbm/files/Makefile.config.FreeBSD +++ b/graphics/netpbm/files/Makefile.config.FreeBSD @@ -1,5 +1,5 @@ +DEFAULT_TARGET = merge BUILD_FIASCO = Y -STATICLIB = N LD = ${CC} SYMLINK = ${LN} -sf MANCP = ${BSD_INSTALL_MAN} @@ -20,6 +20,7 @@ INSTALL_PREFIX = ${PREFIX} INSTALLBINARIES = $(INSTALL_PREFIX)/bin INSTALLSCRIPTS = $(INSTALLBINARIES) INSTALLLIBS = $(INSTALL_PREFIX)/lib +INSTALLSTATICLIBS = $(INSTALLLIBS) INSTALLMANUALS1 = $(INSTALL_PREFIX)/man/man1 SUFFIXMANUALS1 = 1 INSTALLMANUALS3 = $(INSTALL_PREFIX)/man/man3 @@ -28,7 +29,8 @@ INSTALLMANUALS5 = $(INSTALL_PREFIX)/man/man5 SUFFIXMANUALS5 = 5 INSTALLHDRS = $(INSTALL_PREFIX)/include INSTALLDATA = $(INSTALL_PREFIX)/share/netpbm -LIB_SUFFIX = a NETPBMLIBTYPE = unixshared NETPBMLIBSUFFIX = so +STATICLIB_TOO = y +STATICLIBSUFFIX = a SOVER = 1 diff --git a/graphics/netpbm/files/manpages b/graphics/netpbm/files/manpages index 394297ea28b..8f18b5e01e1 100644 --- a/graphics/netpbm/files/manpages +++ b/graphics/netpbm/files/manpages @@ -25,9 +25,10 @@ MAN1+= leaftoppm.1 MAN1+= lispmtopgm.1 MAN1+= macptopbm.1 MAN1+= mdatopbm.1 -MAN1+= netpbm.1 MAN1+= mgrtopbm.1 MAN1+= mtvtoppm.1 +MAN1+= netpbm.1 +MAN1+= neotoppm.1 MAN1+= palmtopnm.1 MAN1+= pamchannel.1 MAN1+= pamcut.1 @@ -179,6 +180,7 @@ MAN1+= ppmtolj.1 MAN1+= ppmtomap.1 MAN1+= ppmtomitsu.1 MAN1+= ppmtompeg.1 +MAN1+= ppmtoneo.1 MAN1+= ppmtopcx.1 MAN1+= ppmtopgm.1 MAN1+= ppmtopi1.1 diff --git a/graphics/netpbm/files/patch-ba b/graphics/netpbm/files/patch-ba index 76b7164e2fd..c0f521c5c89 100644 --- a/graphics/netpbm/files/patch-ba +++ b/graphics/netpbm/files/patch-ba @@ -1,17 +1,24 @@ ---- GNUmakefile.orig Sat Jun 2 11:42:02 2001 -+++ GNUmakefile Tue Jun 26 00:00:00 2001 -@@ -153,10 +153,12 @@ +--- GNUmakefile.orig Fri Aug 17 13:34:44 2001 ++++ GNUmakefile Wed Sep 5 00:00:00 2001 +@@ -69,7 +69,7 @@ + + default: $(DEFAULT_TARGET) + +-all: nonmerge ++all: default + + .PHONY: nonmerge + nonmerge: $(SUBDIRS) +@@ -160,10 +160,10 @@ + .PHONY: install.hdr - install.hdr: - $(SRCDIR)/mkinstalldirs $(INSTALLHDRS) + install.hdr: $(INSTALLHDRS) $(SRCDIR)/pm_config.h - $(INSTALL) -c -m$(INSTALL_PERM_HDR) \ + ${BSD_INSTALL_DATA} \ - $(SRCDIR)/pbmplus.h $(INSTALLHDRS) + $(SRCDIR)/pm_config.h $(INSTALLHDRS) - $(INSTALL) -c -m$(INSTALL_PERM_HDR) \ - $(SRCDIR)/shhopt/shhopt.h $(INSTALLHDRS) + ${BSD_INSTALL_DATA} \ -+ $(SRCDIR)/pm_config.h $(INSTALLHDRS) -+ ${BSD_INSTALL_DATA} \ + $(SRCDIR)/shhopt/pm_shhopt.h $(INSTALLHDRS) for i in $(SUBDIRS) ; do \ $(MAKE) -C $$i -f $(SRCDIR)/$$i/Makefile install.hdr ; \ diff --git a/graphics/netpbm/files/patch-bb b/graphics/netpbm/files/patch-bb index 5d6bc74a915..d21b372279e 100644 --- a/graphics/netpbm/files/patch-bb +++ b/graphics/netpbm/files/patch-bb @@ -1,6 +1,6 @@ ---- Makefile.common.orig Thu Jul 12 14:27:12 2001 -+++ Makefile.common Tue Jul 24 00:00:00 2001 -@@ -157,28 +157,23 @@ +--- Makefile.common.orig Tue Sep 4 08:29:05 2001 ++++ Makefile.common Wed Sep 5 00:00:00 2001 +@@ -174,9 +174,12 @@ $(LIBOBJECTS): %.o: $(SRCSUBDIR)/%.c $(HEADERLINKS) # Note that the user may have configured -I options into CFLAGS. @@ -14,12 +14,10 @@ ifeq ($(NETPBMLIBTYPE),unixshared) # The libxxx.so link is needed to link the executables. - lib$(LIBROOT).$(NETPBMLIBSUFFIX): $(SONAME) - rm -f $@ - $(SYMLINK) $< $@ --# The $(SONAME) link is only needed to test the programs without --# installing the libraries (in that case, you also need to direct the --# dynamic linker to the source directories, e.g. set LD_LIBRARY_PATH). +@@ -186,13 +189,10 @@ + # The $(SONAME) link is only needed to test the programs without + # installing the libraries (in that case, you also need to direct the + # dynamic linker to the source directories, e.g. set LD_LIBRARY_PATH). -$(SONAME): lib$(LIBROOT).$(NETPBMLIBSUFFIX).$(MAJ).$(MIN) - rm -f $@ - $(SYMLINK) $< $@ @@ -27,18 +25,14 @@ - $(LIBOBJECTS) $(LIBOBJECTS_X) $(LIBLIBS) $(LIBOPT) - $(LD) $(LDSHLIB) -o $@ $(LIBOBJECTS) $(LIBOBJECTS_X) \ - `$(LIBOPT) $(LIBLIBS)` -lc $(CDEBUG) --endif --ifeq ($(NETPBMLIBTYPE),unixstatic) --lib$(LIBROOT).$(NETPBMLIBSUFFIX): $(LIBOBJECTS) $(LIBOBJECTS_X) -+$(SONAME): lib$(LIBROOT).$(LIB_SUFFIX) \ ++$(SONAME): \ + $(SHLIBOBJECTS) $(LIBOBJECTS_X) $(LIBLIBS) $(LIBOPT) + $(LD) $(LDSHLIB) -o $@ $(SHLIBOBJECTS) $(LIBOBJECTS_X) \ + `$(LIBOPT) $(LIBLIBS)` $(LDFLAGS) $(CDEBUG) -+lib$(LIBROOT).$(LIB_SUFFIX): $(LIBOBJECTS) $(LIBOBJECTS_X) - -rm -f $@ - ar rc $@ $(LIBOBJECTS) $(LIBOBJECTS_X) - ifneq ($(RANLIB)x,x) -@@ -238,7 +233,7 @@ + endif + + ifeq ($(NETPBMLIBTYPE),dll) +@@ -281,7 +281,7 @@ install.merge.common: $(MERGENAME) $(NOMERGEBINARIES) install.script cd $(INSTALLBINARIES) ; rm -f $(BINARIES) $(MERGE_ALIASES) ifneq ($(MERGENAME)x,x) @@ -47,7 +41,7 @@ $(MERGENAME) $(INSTALLBINARIES) cd $(INSTALLBINARIES) ; \ for i in $(MERGEBINARIES) $(MERGE_ALIASES) ; \ -@@ -248,7 +243,7 @@ +@@ -291,7 +291,7 @@ ifneq ($(NOMERGEBINARIES)x,x) for x in $(NOMERGEBINARIES); \ do \ @@ -56,7 +50,7 @@ $$x $(INSTALLBINARIES); \ done endif -@@ -259,7 +254,7 @@ +@@ -302,7 +302,7 @@ # Make and Install know that pbmmake.exe counts as pbmmake. for x in $(BINARIES); \ do \ @@ -65,7 +59,7 @@ $$x $(INSTALLBINARIES); \ done -@@ -268,7 +263,7 @@ +@@ -311,7 +311,7 @@ ifneq ($(SCRIPTS)x,x) for x in $(SCRIPTS); \ do \ @@ -74,7 +68,7 @@ $(INSTALLSCRIPTS); \ done endif -@@ -305,7 +300,7 @@ +@@ -348,7 +348,7 @@ # directory when you compile your programs. for x in $(INTERFACE_HEADERS); \ do \ @@ -83,13 +77,15 @@ $(INSTALLHDRS); \ done -@@ -313,17 +308,17 @@ +@@ -356,19 +356,19 @@ # .PHONY: install.staticlib - install.staticlib: lib$(LIBROOT).$(LIB_SUFFIX) -- $(INSTALL) -c -m $(INSTALL_PERM_LIBS) $< $(INSTALLLIBS)/$< -+ ${BSD_INSTALL_DATA} $< $(INSTALLLIBS)/$< + install.staticlib: lib$(LIBROOT).$(STATICLIBSUFFIX) +- $(INSTALL) -c -m $(INSTALL_PERM_LIBS) $< $(INSTALLSTATICLIBS)/$< ++ ${BSD_INSTALL_DATA} $< $(INSTALLSTATICLIBS)/$< + # Install a shared library + # .PHONY: install.lib.common ifeq ($(NETPBMLIBTYPE),unixshared) # install a Unix-style shared library @@ -100,8 +96,9 @@ + cd $(INSTALLLIBS) ; rm -f lib$(LIBROOT).$(NETPBMLIBSUFFIX).* + ${BSD_INSTALL_DATA} $< $(INSTALLLIBS) cd $(INSTALLLIBS) ; \ - rm -f lib$(LIBROOT).$(NETPBMLIBSUFFIX).$(MAJ); \ +- rm -f lib$(LIBROOT).$(NETPBMLIBSUFFIX).$(MAJ); \ - $(SYMLINK) $< lib$(LIBROOT).$(NETPBMLIBSUFFIX).$(MAJ) ++ rm -f lib$(LIBROOT).$(NETPBMLIBSUFFIX); \ + $(SYMLINK) $< lib$(LIBROOT).$(NETPBMLIBSUFFIX) endif ifeq ($(NETPBMLIBTYPE),dll) diff --git a/graphics/netpbm/files/patch-bd b/graphics/netpbm/files/patch-bd index 0e1faf43d81..92c3f8f42c6 100644 --- a/graphics/netpbm/files/patch-bd +++ b/graphics/netpbm/files/patch-bd @@ -1,6 +1,6 @@ ---- pbm/Makefile.orig Wed May 30 14:59:56 2001 -+++ pbm/Makefile Tue Jun 26 00:00:00 2001 -@@ -47,6 +47,7 @@ +--- pbm/Makefile.orig Fri Aug 17 13:40:04 2001 ++++ pbm/Makefile Wed Sep 5 00:00:00 2001 +@@ -52,6 +52,7 @@ # Library objects to be built and linked by Makefile.common: LIBOBJECTS = libpm.o libpbm1.o libpbm2.o libpbm3.o libpbm4.o libpbm5.o @@ -8,20 +8,16 @@ ifneq (${VMS}x,x) LIBOBJECTS += libpbmvms.o endif -@@ -59,30 +60,25 @@ - - MERGENAME = pbmmerge - --INTERFACE_HEADERS = pbm.h -+INTERFACE_HEADERS = pbm.h pm.h +@@ -68,26 +69,21 @@ .PHONY: all - all: $(BINARIES) + all: $(LIBPBM) $(BINARIES) $(EXTRA_STATICLIB) - $(MAKE) -C pbmtoppa all .PHONY: merge - merge: $(MERGENAME) +-merge: $(MERGENAME) - $(MAKE) -C pbmtoppa all ++merge: $(MERGENAME) $(EXTRA_STATICLIB) .PHONY: install.bin install.bin: install.bin.common @@ -40,7 +36,7 @@ HEADERLINKS = pm_config.h version.h compile.h -@@ -104,6 +100,5 @@ +@@ -109,6 +105,5 @@ .PHONY: clean clean: clean.common rm -f thinkjettopbm.c diff --git a/graphics/netpbm/files/patch-be b/graphics/netpbm/files/patch-be index b2ff1f0f0ff..fe9a3166f0f 100644 --- a/graphics/netpbm/files/patch-be +++ b/graphics/netpbm/files/patch-be @@ -1,6 +1,6 @@ ---- pgm/Makefile.orig Thu Jan 18 12:39:28 2001 -+++ pgm/Makefile Tue May 15 00:00:00 2001 -@@ -27,6 +27,7 @@ +--- pgm/Makefile.orig Fri Aug 17 13:42:24 2001 ++++ pgm/Makefile Wed Sep 5 00:00:00 2001 +@@ -33,6 +33,7 @@ MERGE_OBJECTS = $(patsubst %,%.o2, $(MERGEBINARIES)) LIBOBJECTS = libpgm1.o libpgm2.o @@ -8,3 +8,12 @@ MANUALS1 = $(BINARIES) MANUALS3 = libpgm +@@ -45,7 +46,7 @@ + .PHONY: all + all: $(PGMLIB) $(BINARIES) $(EXTRA_STATICLIB) + .PHONY: merge +-merge: $(MERGENAME) ++merge: $(MERGENAME) $(EXTRA_STATICLIB) $(EXTRA_STATICLIB) + + # LIBRARIES + diff --git a/graphics/netpbm/files/patch-bf b/graphics/netpbm/files/patch-bf index 3569594b318..08d3473ec0e 100644 --- a/graphics/netpbm/files/patch-bf +++ b/graphics/netpbm/files/patch-bf @@ -1,6 +1,6 @@ ---- pnm/Makefile.orig Thu May 10 06:48:25 2001 -+++ pnm/Makefile Tue May 15 00:00:00 2001 -@@ -108,6 +108,7 @@ +--- pnm/Makefile.orig Mon Sep 3 09:45:17 2001 ++++ pnm/Makefile Wed Sep 5 00:00:00 2001 +@@ -155,6 +155,7 @@ MERGE_OBJECTS = $(patsubst %,%.o2, $(MERGEBINARIES)) LIBOBJECTS = libpnm1.o libpnm2.o libpnm3.o libpnm4.o libpam.o @@ -8,3 +8,21 @@ MANUALS1 = $(BINARIES) $(SCRIPTS) MANUALS3 = libpnm +@@ -172,7 +173,7 @@ + $(MAKE) -C jbig all + $(MAKE) -C pnmtopalm all + PHONY: merge +-merge: $(MERGENAME) $(NOMERGEBINARIES) ++merge: $(MERGENAME) $(NOMERGEBINARIES) $(EXTRA_STATICLIB) + ifneq ($(BUILD_FIASCO), N) + $(MAKE) -C fiasco all + endif +@@ -190,7 +191,7 @@ + + jpegtopnm: %: %.o exif.o $(NETPBMLIBS) $(LIBOPT) + $(LD) $(LDFLAGS) -o $@ $< exif.o `$(LIBOPT) $(NETPBMLIBS)` $(JPEGLD) \ +- $(CDEBUG) ++ -lm $(CDEBUG) + + ifeq ($(URTLIB_DIR),$(URTDIR)) + # We're using the internal URT library, so make sure it's built diff --git a/graphics/netpbm/files/patch-bg b/graphics/netpbm/files/patch-bg index 0dedc2911e8..322d002f0fd 100644 --- a/graphics/netpbm/files/patch-bg +++ b/graphics/netpbm/files/patch-bg @@ -1,6 +1,6 @@ ---- ppm/Makefile.orig Mon May 14 07:56:12 2001 -+++ ppm/Makefile Tue May 15 00:00:00 2001 -@@ -60,6 +60,7 @@ +--- ppm/Makefile.orig Fri Aug 17 13:43:06 2001 ++++ ppm/Makefile Wed Sep 5 00:00:00 2001 +@@ -67,6 +67,7 @@ LIBOBJECTS = libppm1.o libppm2.o libppmcmap.o libppm4.o libppm5.o \ libppmfloyd.o bitio.o @@ -8,7 +8,7 @@ MANUALS1 = $(BINARIES) $(SCRIPTS) MANUALS3 = libppm -@@ -67,7 +68,7 @@ +@@ -74,14 +75,14 @@ MERGENAME= ppmmerge @@ -16,4 +16,12 @@ +INTERFACE_HEADERS = ppm.h ppmcmap.h ppmdraw.h ppmfloyd.h .PHONY: all - all: $(BINARIES) + all: $(LIBPPM) $(BINARIES) $(EXTRA_STATICLIB) + $(MAKE) -C ppmtompeg all + $(MAKE) -C hpcdtoppm all + .PHONY: merge +-merge: $(MERGENAME) $(NOMERGEBINARIES) ++merge: $(MERGENAME) $(NOMERGEBINARIES) $(EXTRA_STATICLIB) + $(MAKE) -C ppmtompeg all + $(MAKE) -C hpcdtoppm all + diff --git a/graphics/netpbm/files/patch-cl b/graphics/netpbm/files/patch-cl deleted file mode 100644 index 831d934d334..00000000000 --- a/graphics/netpbm/files/patch-cl +++ /dev/null @@ -1,28 +0,0 @@ ---- ppm/ppmtompeg/parallel.c.orig Sat Jul 1 16:51:53 2000 -+++ ppm/ppmtompeg/parallel.c Sat Jan 13 00:00:00 2001 -@@ -70,9 +70,6 @@ - * - */ - --#define _POSIX_SOURCE --#define _POSIX_C_SOURCE 2 -- /* This makes sure pclose() is in stdio.h */ - /* On SunOS 5.6, netinet/in.h, via sys/vnode.h uses non-POSIX - typedefs, but when _POSIX_SOURCE is defined, it doesn't cause those - typedefs to be defined. In later releases, this is fixed. If we -@@ -97,7 +94,6 @@ - #include <string.h> - #include <signal.h> - #include "all.h" --#include "param.h" - #include "mpeg.h" - #include "prototypes.h" - #include "parallel.h" -@@ -105,6 +101,7 @@ - #include "fsize.h" - #include "combine.h" - #include "frames.h" -+#include "param.h" - - - #define MAX_IO_SERVERS 10 diff --git a/graphics/netpbm/pkg-plist b/graphics/netpbm/pkg-plist index e03b23dfc28..08e4be1e6a6 100644 --- a/graphics/netpbm/pkg-plist +++ b/graphics/netpbm/pkg-plist @@ -28,6 +28,7 @@ bin/macptopbm bin/mdatopbm bin/mgrtopbm bin/mtvtoppm +bin/neotoppm bin/palmtopnm bin/pamchannel bin/pamcut @@ -184,6 +185,7 @@ bin/ppmtolj bin/ppmtomap bin/ppmtomitsu bin/ppmtompeg +bin/ppmtoneo bin/ppmtopcx bin/ppmtopgm bin/ppmtopi1 @@ -229,7 +231,6 @@ bin/yuvsplittoppm bin/yuvtoppm bin/zeisstopnm include/pbm.h -include/pbmplus.h include/pgm.h include/pm.h include/pm_config.h |