Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Sep 2004 01:30:28 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/71879: Update port: graphics/feh to 1.2.7
Message-ID:  <20040919013028.26be66a3.tkato432@yahoo.com>
Resent-Message-ID: <200409181640.i8IGejMc021515@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         71879
>Category:       ports
>Synopsis:       Update port: graphics/feh to 1.2.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 18 16:40:45 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 1.2.7

Remove file:
files/patch-aa

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/feh/Makefile graphics/feh/Makefile
--- /usr/ports/graphics/feh/Makefile	Fri Jun  6 22:09:51 2003
+++ graphics/feh/Makefile	Sun Sep  5 21:17:50 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	feh
-PORTVERSION=	1.2.6
+PORTVERSION=	1.2.7
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.linuxbrit.co.uk/downloads/
 
@@ -24,8 +24,17 @@
 
 MAN1=		feh.1
 
-.if defined(NOPORTDOCS)
-MAKE_ENV=	NO_DOC=yes
+post-patch:
+	@${PERL} -pi.bak -e 's|^LDFLAGS =.*$$|LDFLAGS = \@LDFLAGS\@|g ; \
+		 s|^INCLUDES =.*$$|INCLUDES = -I. -I$$(includedir)|g ; \
+		 s|-man install-docsDATA|-man|g' ${WRKSRC}/Makefile.in
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+.for file in AUTHORS ChangeLog README TODO
+	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/feh/distinfo graphics/feh/distinfo
--- /usr/ports/graphics/feh/distinfo	Thu Jan 29 20:25:44 2004
+++ graphics/feh/distinfo	Sun Sep  5 21:06:32 2004
@@ -1,2 +1,2 @@
-MD5 (feh-1.2.6.tar.gz) = 6d40889465181de51bb26fbbe57fbfac
-SIZE (feh-1.2.6.tar.gz) = 351906
+MD5 (feh-1.2.7.tar.gz) = a25a4ace719a69bab1df5929ad7b9716
+SIZE (feh-1.2.7.tar.gz) = 373323
diff -urN /usr/ports/graphics/feh/files/patch-aa graphics/feh/files/patch-aa
--- /usr/ports/graphics/feh/files/patch-aa	Mon Jan 28 02:02:39 2002
+++ graphics/feh/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,27 +0,0 @@
---- Makefile.in.orig	Thu Jan 17 16:52:38 2002
-+++ Makefile.in	Sat Jan 26 10:49:00 2002
-@@ -82,7 +82,7 @@
- man_MANS = feh.1
- 
- docs_DATA = README AUTHORS ChangeLog TODO
--docsdir = $(prefix)/doc/feh
-+docsdir = $(datadir)/doc/feh
- 
- EXTRA_DIST =  feh.spec feh.1 $(docs_DATA)
- 
-@@ -195,6 +195,7 @@
- 	$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
- 
- install-docsDATA: $(docs_DATA)
-+.if !defined(NO_DOC)
- 	@$(NORMAL_INSTALL)
- 	$(mkinstalldirs) $(DESTDIR)$(docsdir)
- 	@list='$(docs_DATA)'; for p in $$list; do \
-@@ -206,6 +207,7 @@
- 	    $(INSTALL_DATA) $$p $(DESTDIR)$(docsdir)/$$p; \
- 	  fi; fi; \
- 	done
-+.endif
- 
- uninstall-docsDATA:
- 	@$(NORMAL_UNINSTALL)
diff -urN /usr/ports/graphics/feh/pkg-plist graphics/feh/pkg-plist
--- /usr/ports/graphics/feh/pkg-plist	Mon Jan  6 15:58:58 2003
+++ graphics/feh/pkg-plist	Sun Sep  5 20:00:43 2004
@@ -2,25 +2,25 @@
 bin/cam
 bin/feh
 bin/gen_cam_menu.sh
-%%PORTDOCS%%share/doc/feh/AUTHORS
-%%PORTDOCS%%share/doc/feh/ChangeLog
-%%PORTDOCS%%share/doc/feh/README
-%%PORTDOCS%%share/doc/feh/TODO
-share/feh/fonts/black.style
-share/feh/fonts/menu.style
-share/feh/fonts/yudit.ttf
-share/feh/images/about.png
-share/feh/images/menubg_aluminium.png
-share/feh/images/menubg_aqua.png
-share/feh/images/menubg_black.png
-share/feh/images/menubg_britney.png
-share/feh/images/menubg_brushed.png
-share/feh/images/menubg_chrome.png
-share/feh/images/menubg_default.png
-share/feh/images/menubg_pastel.png
-share/feh/images/menubg_sky.png
-share/feh/images/menubg_wood.png
-@dirrm share/feh/images
-@dirrm share/feh/fonts
-@dirrm share/feh
-%%PORTDOCS%%@dirrm share/doc/feh
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%DATADIR%%/fonts/black.style
+%%DATADIR%%/fonts/menu.style
+%%DATADIR%%/fonts/yudit.ttf
+%%DATADIR%%/images/about.png
+%%DATADIR%%/images/menubg_aluminium.png
+%%DATADIR%%/images/menubg_aqua.png
+%%DATADIR%%/images/menubg_black.png
+%%DATADIR%%/images/menubg_britney.png
+%%DATADIR%%/images/menubg_brushed.png
+%%DATADIR%%/images/menubg_chrome.png
+%%DATADIR%%/images/menubg_default.png
+%%DATADIR%%/images/menubg_pastel.png
+%%DATADIR%%/images/menubg_sky.png
+%%DATADIR%%/images/menubg_wood.png
+@dirrm %%DATADIR%%/images
+@dirrm %%DATADIR%%/fonts
+@dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040919013028.26be66a3.tkato432>