Update feh to 1.11.1

Feature safe:	yes
This commit is contained in:
Ulrich Spörlein 2011-01-30 11:42:21 +00:00
parent 650d3e7b62
commit 2660b94105
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=268429
3 changed files with 16 additions and 17 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= feh
PORTVERSION= 1.10
PORTVERSION= 1.11.1
CATEGORIES= graphics
MASTER_SITES= http://www.chaosdorf.de/~derf/feh/ \
${MASTER_SITE_LOCAL}
@ -22,7 +22,7 @@ USE_PERL5_RUN= yes
USE_GMAKE= yes
USE_BZIP2= yes
MAN1= feh.1 feh-cam.1
MAN1= feh.1 feh-cam.1 gen-cam-menu.1
CFLAGS= -I${LOCALBASE}/include -std=c99
LDFLAGS= -L${LOCALBASE}/lib
@ -30,20 +30,15 @@ MAKE_ENV+= LDFLAGS="${LDFLAGS}"
post-patch:
@${REINPLACE_CMD} 's#share/man#man#' ${WRKSRC}/config.mk
@${REINPLACE_CMD} 's#install-man install-doc install-bin##' ${WRKSRC}/Makefile
@${REINPLACE_CMD} 's#install-man install-doc install-bin#install-doc#' ${WRKSRC}/Makefile
@${REINPLACE_CMD} 's#/bin/bash#/bin/sh#' ${WRKSRC}/cam/gen-cam-menu
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/feh ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/feh.1 ${PREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKSRC}/cam/feh-cam ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/cam/gen-cam-menu ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/feh.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/feh-cam.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in AUTHORS ChangeLog README TODO
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
${INSTALL_MAN} ${WRKSRC}/man/gen-cam-menu.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (feh-1.10.tar.bz2) = 506e4f833a9c5c1eff55c20784b08aee36540c0643d822dbb76fcdbee729812c
SIZE (feh-1.10.tar.bz2) = 2502277
SHA256 (feh-1.11.1.tar.bz2) = 856c51ed0c30e6e342a3a9601d7069443fbdf4d3036f8c887a3970742504b1e7
SIZE (feh-1.11.1.tar.bz2) = 2288537

View file

@ -1,14 +1,17 @@
bin/feh
bin/feh-cam
bin/gen-cam-menu
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%DOCSDIR%%/AUTHORS
%%DOCSDIR%%/ChangeLog
%%DOCSDIR%%/README
%%DOCSDIR%%/TODO
%%DOCSDIR%%/examples/keys
%%DOCSDIR%%/examples/themes
%%DATADIR%%/fonts/black.style
%%DATADIR%%/fonts/menu.style
%%DATADIR%%/fonts/yudit.ttf
%%DATADIR%%/images/about.png
%%DATADIR%%/images/logo.svg
%%DATADIR%%/images/menubg_aluminium.png
%%DATADIR%%/images/menubg_aqua.png
%%DATADIR%%/images/menubg_black.png
@ -18,4 +21,5 @@ bin/gen-cam-menu
@dirrm %%DATADIR%%/images
@dirrm %%DATADIR%%/fonts
@dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%DOCSDIR%%/examples
@dirrm %%DOCSDIR%%