Update to version 1.2.7

PR:		ports/71879
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2004-10-12 10:01:08 +00:00
parent 7a82ee6b01
commit ae4f0e3132
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118891
4 changed files with 36 additions and 54 deletions

View file

@ -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 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
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>

View file

@ -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

View file

@ -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)

View file

@ -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%%