aboutsummaryrefslogtreecommitdiff
path: root/graphics/show
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-12-29 18:32:08 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-12-29 18:32:08 +0000
commit8b9c92793f645a7d9c8b3493f16b96e823bf7721 (patch)
treecc6fc554862af20e6bf539a0dd3f07f4101813f7 /graphics/show
parent3e1bdc306cade5cf703b297edb462cb85049329a (diff)
downloadports-8b9c92793f645a7d9c8b3493f16b96e823bf7721.tar.gz
ports-8b9c92793f645a7d9c8b3493f16b96e823bf7721.zip
Notes
Diffstat (limited to 'graphics/show')
-rw-r--r--graphics/show/Makefile17
-rw-r--r--graphics/show/distinfo5
-rw-r--r--graphics/show/files/Makefile17
-rw-r--r--graphics/show/pkg-descr2
4 files changed, 31 insertions, 10 deletions
diff --git a/graphics/show/Makefile b/graphics/show/Makefile
index 2538ceec31b1..548900161e87 100644
--- a/graphics/show/Makefile
+++ b/graphics/show/Makefile
@@ -6,12 +6,11 @@
#
PORTNAME= show
-PORTVERSION= 2.1
-PORTREVISION= 1
+PORTVERSION= 2.2
CATEGORIES= graphics
-MASTER_SITES= http://www.ugrad.cs.ubc.ca/~i6a2/show/
+MASTER_SITES= http://www.ibiblio.org/propaganda/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= jmelo@freebsdbrasil.com.br
COMMENT= A fast, flexible, extensible and bloat-free image viewer for X11
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
@@ -20,11 +19,15 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
ungif.5:${PORTSDIR}/graphics/libungif \
Imlib.5:${PORTSDIR}/graphics/imlib
-PLIST_FILES= bin/show
-USE_XLIB= yes
USE_X_PREFIX= yes
+PLIST_FILES= bin/show
+
+post-extract:
+ @${CP} ${PATCHDIR}/Makefile ${WRKSRC}
+ @${RM} ${WRKSRC}/${PORTNAME}
+
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/show ${PREFIX}/bin
+ @${INSTALL_PROGRAM} ${WRKSRC}/show ${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/graphics/show/distinfo b/graphics/show/distinfo
index bb0c18499cd7..cd6852de11b0 100644
--- a/graphics/show/distinfo
+++ b/graphics/show/distinfo
@@ -1,2 +1,3 @@
-MD5 (show-2.1.tar.gz) = 8219274c59cb0d5791c0d3bdb30f5879
-SIZE (show-2.1.tar.gz) = 12616
+MD5 (show-2.2.tar.gz) = 1041eb616cfde775543bc4218e6b79dc
+SHA256 (show-2.2.tar.gz) = 205f447e63b17a84c68e5169786dcd96ded68e002304efc30071603477184193
+SIZE (show-2.2.tar.gz) = 258911
diff --git a/graphics/show/files/Makefile b/graphics/show/files/Makefile
new file mode 100644
index 000000000000..26a5c982aa32
--- /dev/null
+++ b/graphics/show/files/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+CC ?= gcc
+CFLAGS ?= -g -O2 -Wall
+XROOT = ${X11BASE}
+LROOT = ${LOCALBASE}
+INCLUDES = -I$(XROOT)/include -I$(LROOT)/include
+LIBS = -lX11 -lXext -ljpeg -lpng -ltiff -lz -lungif -lm -lImlib
+LDPATH = -L$(XROOT)/lib -L$(LROOT)/lib
+
+PROG = show
+PREFIX = ${LOCALBASE}
+
+all: $(PROG)
+
+$(PROG): $(PROG).c
+ $(CC) $(PROG).c $(CFLAGS) $(INCLUDES) $(LDPATH) $(LIBS) -o $(PROG)
diff --git a/graphics/show/pkg-descr b/graphics/show/pkg-descr
index 19eda36e87ca..16fcd1bd2998 100644
--- a/graphics/show/pkg-descr
+++ b/graphics/show/pkg-descr
@@ -7,7 +7,7 @@ image rotation, X/Y axis flipping, over 200 different color transition modes,
wildcard support, and logging abilities. It can also be easilly incorporated
into multimedia presentations, shell scripts, and other utilities.
-WWW: http://freshmeat.net/projects/show/
+WWW: http://www.ibiblio.org/propaganda
- roop
i6a2@ugrad.cs.ubc.ca