aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/show
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-12-30 02:32:08 +0800
committerpav <pav@FreeBSD.org>2005-12-30 02:32:08 +0800
commitdbf2f6626ec3950c9f18d2b79c2b992f814d3e4b (patch)
tree7a65341db01e17f78932d644203d8539db8a000e /graphics/show
parent162c23e93bbf31e9d77a632c6c3fba35e976806a (diff)
downloadfreebsd-ports-gnome-dbf2f6626ec3950c9f18d2b79c2b992f814d3e4b.tar.gz
freebsd-ports-gnome-dbf2f6626ec3950c9f18d2b79c2b992f814d3e4b.tar.zst
freebsd-ports-gnome-dbf2f6626ec3950c9f18d2b79c2b992f814d3e4b.zip
- Update to 2.2
- Claim maintainership PR: ports/91022 Submitted by: Jean Milanez Melo <jmelo@freebsdbrasil.com.br>
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