Bug 91022 - Update port: graphics/show update to 2.2
Summary: Update port: graphics/show update to 2.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-28 15:50 UTC by Jean Milanez Melo
Modified: 2005-12-29 18:32 UTC (History)
1 user (show)

See Also:


Attachments
show.diff (2.71 KB, patch)
2005-12-28 15:50 UTC, Jean Milanez Melo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean Milanez Melo 2005-12-28 15:50:02 UTC
	
- 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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2005-12-28 15:53:52 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2005-12-28 23:46:43 UTC
State Changed
From-To: feedback->open

Maintainer's email address bounces.
Comment 3 Jean Milanez Melo 2005-12-29 13:05:19 UTC
Please, i would like to take the maintainership, follow the patch:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/show/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	28 Dec 2005 23:45:56 -0000	1.4
+++ Makefile	29 Dec 2005 12:58:04 -0000
@@ -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,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	29 Dec 2005 12:58:04 -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	29 Dec 2005 12:58:04 -0000
@@ -7,7 +7,4 @@
  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/
-
-- roop
-i6a2@ugrad.cs.ubc.ca
+WWW: http://www.ibiblio.org/propaganda
Index: files/Makefile
===================================================================
RCS file: files/Makefile
diff -N files/Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/Makefile	29 Dec 2005 12:58:04 -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)

-- 
Atenciosamente
Jean Milanez Melo
FreeBSD Brasil LTDA.
Fone: (31) 3281-9633
http://www.freebsdbrasil.com.br
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2005-12-29 18:32:16 UTC
State Changed
From-To: open->closed

Committed with modifications.