summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1997-12-14 01:41:35 +0000
committeragc <agc@pkgsrc.org>1997-12-14 01:41:35 +0000
commit32d95240bc36f35c057a5e048f66369599213380 (patch)
treeff8c73a3f3d196fd85712096f6792d0adbb4a617
parent234cd403cbc64f2cd12cfba985f03f0858c3e2b5 (diff)
downloadpkgsrc-32d95240bc36f35c057a5e048f66369599213380.tar.gz
Addition of ImageMagick image manipulation package.
-rw-r--r--graphics/ImageMagick/files/md51
-rw-r--r--graphics/ImageMagick/patches/patch-aa85
-rw-r--r--graphics/ImageMagick/pkg/COMMENT1
-rw-r--r--graphics/ImageMagick/pkg/DESCR12
4 files changed, 99 insertions, 0 deletions
diff --git a/graphics/ImageMagick/files/md5 b/graphics/ImageMagick/files/md5
new file mode 100644
index 00000000000..cc45c2867b5
--- /dev/null
+++ b/graphics/ImageMagick/files/md5
@@ -0,0 +1 @@
+MD5 (ImageMagick-3.9.3.tar.gz) = d80567f025a47c7b0138f62ec318b6f6
diff --git a/graphics/ImageMagick/patches/patch-aa b/graphics/ImageMagick/patches/patch-aa
new file mode 100644
index 00000000000..dbb88fbbbdf
--- /dev/null
+++ b/graphics/ImageMagick/patches/patch-aa
@@ -0,0 +1,85 @@
+--- Magick.tmpl.orig Tue Dec 9 05:08:48 1997
++++ Magick.tmpl Thu Dec 11 01:43:36 1997
+@@ -33,12 +33,12 @@
+ XCOMM HasShape if your X server supports the Shape Extension and
+ XCOMM HasSharedMemory for the Shared Memory Extension.
+ XCOMM
+-XCOMM EXTENSIONS_DEFINES= -DHasLZW -DHasShape -DHasSharedMemory
++EXTENSIONS_DEFINES= -DHasLZW -DHasShape -DHasSharedMemory
+
+ XCOMM Set DoSharedLib to HasSharedLibraries to build ImageMagick with shared
+ XCOMM libraries.
+ XCOMM
+-XCOMM #define DoSharedLib HasSharedLibraries
++#define DoSharedLib HasSharedLibraries
+
+ XCOMM By default, the maximum color value is 255. To increase the maximum to
+ XCOMM 65535 define:
+@@ -56,10 +56,10 @@
+ XCOMM #define HasFPX
+ XCOMM #define HasHDF
+ XCOMM #define HasJBIG
+-XCOMM #define HasJPEG
+-XCOMM #define HasMPEG
+-XCOMM #define HasPNG
+-XCOMM #define HasTIFF
++#define HasJPEG
++#define HasMPEG
++#define HasPNG
++#define HasTIFF
+ XCOMM #define HasTTF
+
+ #ifdef HasDPS
+@@ -92,29 +92,29 @@
+
+ #ifdef HasJPEG
+ JPEG_DEFINES= -DHasJPEG
+-JPEG_INCLUDES= -I$(TOP)/jpeg
+-JPEG_FLAGS= -L$(TOP)/jpeg
++JPEG_INCLUDES= -I${LOCALBASE}/include
++JPEG_FLAGS= -L${LOCALBASE}/lib
+ JPEG_LIBRARIES= -ljpeg
+ #endif
+
+ #ifdef HasMPEG
+ MPEG_DEFINES= -DHasMPEG
+-MPEG_INCLUDES= -I$(TOP)/mpeg
+-MPEG_FLAGS= -L$(TOP)/mpeg
++MPEG_INCLUDES= -I${LOCALBASE}/include
++MPEG_FLAGS= -L${LOCALBASE}/lib
+ MPEG_LIBRARIES= -lmpeg
+ #endif
+
+ #ifdef HasPNG
+ PNG_DEFINES= -DHasPNG
+-PNG_INCLUDES= -I$(TOP)/png -I$(TOP)/zlib
+-PNG_FLAGS= -L$(TOP)/png -L$(TOP)/zlib
++PNG_INCLUDES= -I${LOCALBASE}/include
++PNG_FLAGS= -L${LOCALBASE}/lib
+ PNG_LIBRARIES= -lpng -lz
+ #endif
+
+ #ifdef HasTIFF
+ TIFF_DEFINES= -DHasTIFF
+-TIFF_INCLUDES= -I$(TOP)/tiff/libtiff
+-TIFF_FLAGS= -L$(TOP)/tiff/libtiff
++TIFF_INCLUDES= -I${LOCALBASE}/include
++TIFF_FLAGS= -L${LOCALBASE}/lib
+ TIFF_LIBRARIES= -ltiff
+ #endif
+
+@@ -136,10 +136,10 @@
+ XCOMM ImageMagick has an include file named X.h. Do not set LOCALINC to
+ XCOMM the top level X11 include directory or X11/X.h will be overwritten.
+
+-LOCALDIR= /usr/local/bin
+-LOCALINC= /usr/local/include/magick
+-LOCALLIB= /usr/local/lib
+-LOCALMAN= /usr/local/man/man1
++LOCALDIR= $(PREFIX)/bin
++LOCALINC= $(PREFIX)/include/magick
++LOCALLIB= $(PREFIX)/lib
++LOCALMAN= $(PREFIX)/man/cat1
+
+ MAGICKDIR= $(TOP)/magick
+ MAGICK_INCLUDES= -I$(TOP)/magick
diff --git a/graphics/ImageMagick/pkg/COMMENT b/graphics/ImageMagick/pkg/COMMENT
new file mode 100644
index 00000000000..18c6b7032b8
--- /dev/null
+++ b/graphics/ImageMagick/pkg/COMMENT
@@ -0,0 +1 @@
+a package for display and interactive manipulation of images
diff --git a/graphics/ImageMagick/pkg/DESCR b/graphics/ImageMagick/pkg/DESCR
new file mode 100644
index 00000000000..02210c15bc3
--- /dev/null
+++ b/graphics/ImageMagick/pkg/DESCR
@@ -0,0 +1,12 @@
+ImageMagick TM, version 3.9.3, is a package for display and interactive
+manipulation of images for the X Window System. It is written in C and
+interfaces to the X library, and therefore does not require any proprietary
+toolkit in order to compile. Although the software is copyrighted, it is
+available for free and can be redistributed without fee.
+
+The ImageMagick image display program can display an image on any workstation
+screen running an X server. It can read and write many of the more popular
+image formats including JPEG, TIFF, PNM, GIF, and Photo CD. In addition you
+can interactively resize, rotate, sharpen, color reduce, or add special
+effects to an image and save your completed work in the same or differing
+image format.