ports/91022: Update port: graphics/show update to 2.2
Jean Milanez Melo
jmelo at freebsdbrasil.com.br
Wed Dec 28 15:50:25 UTC 2005
>Number: 91022
>Category: ports
>Synopsis: Update port: graphics/show update to 2.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 28 15:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Jean Milanez Melo
>Release: FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD capeta.freebsdbrasil.com.br 5.3-STABLE FreeBSD 5.3-STABLE #5: Wed Mar 2 15:03:19 BRT 2005 eksffa at capeta.freebsdbrasil.com.br:/usr/obj/usr/src/sys/CAPETA i386
>Description:
- Updated to 2.2.
- Removed PORTREVISION, now we have a new port version :)
- Added SHA256.
- Fixed MASTERSITE, it was unfetchable.
- Fixed WWW to the right project URL.
- Change port to use bsd.port.pre.mk and bsd.port.post.mk.
- Added filesdir with Makefile inside, the program need to be compiled to works.
- Added post-extract step to copy Makefile and remove the old binary that already comes compiled in tarball.
- Maintainer has been CCed.
>How-To-Repeat:
>Fix:
--- show.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/show/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile 6 Feb 2004 13:11:29 -0000 1.3
+++ Makefile 28 Dec 2005 15:24:47 -0000
@@ -6,10 +6,9 @@
#
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= i6a2 at ugrad.cs.ubc.ca
COMMENT= A fast, flexible, extensible and bloat-free image viewer for X11
@@ -20,11 +19,17 @@
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
+
+.include <bsd.port.pre.mk>
+
+post-extract:
+ @${CP} ${PATCHDIR}/Makefile ${WRKSRC}
+ @${RM} ${WRKSRC}/${PORTNAME}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/show ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/graphics/show/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo 31 Mar 2004 03:08:26 -0000 1.2
+++ distinfo 28 Dec 2005 15:24:47 -0000
@@ -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
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/graphics/show/pkg-descr,v
retrieving revision 1.1
diff -u -r1.1 pkg-descr
--- pkg-descr 25 Aug 2003 20:12:53 -0000 1.1
+++ pkg-descr 28 Dec 2005 15:24:47 -0000
@@ -7,7 +7,7 @@
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 at ugrad.cs.ubc.ca
Index: files/Makefile
===================================================================
RCS file: files/Makefile
diff -N files/Makefile
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/Makefile 28 Dec 2005 15:24:47 -0000
@@ -0,0 +1,15 @@
+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)
--- show.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list