aboutsummaryrefslogtreecommitdiff
path: root/graphics/feh
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2014-04-06 07:25:30 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2014-04-06 07:25:30 +0000
commit2019d75643f93dbbb263932903430cfcfb568212 (patch)
treedaff010c02e65a3dc5a0c1c011a40e953a477fb7 /graphics/feh
parentbcbe38079f6c07a718da08fd5f880b7a5d644c72 (diff)
downloadports-2019d75643f93dbbb263932903430cfcfb568212.tar.gz
ports-2019d75643f93dbbb263932903430cfcfb568212.zip
Update to 2.10
Stagify Convert to new LIB_DEPENDS Change handling of PORTDOCS. Add missing dependencies and strip binary by default. PR: ports/188222 (based on) Submitted by: Mikhail <mp39590@gmail.com>
Notes
Notes: svn path=/head/; revision=350340
Diffstat (limited to 'graphics/feh')
-rw-r--r--graphics/feh/Makefile28
-rw-r--r--graphics/feh/distinfo4
-rw-r--r--graphics/feh/pkg-plist15
3 files changed, 21 insertions, 26 deletions
diff --git a/graphics/feh/Makefile b/graphics/feh/Makefile
index 85adad83287d..e7d381ccfe27 100644
--- a/graphics/feh/Makefile
+++ b/graphics/feh/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= feh
-PORTVERSION= 2.9.3
-PORTREVISION= 2
+PORTVERSION= 2.10
CATEGORIES= graphics
MASTER_SITES= http://feh.finalrewind.org/ \
${MASTER_SITE_LOCAL}
@@ -14,33 +13,20 @@ COMMENT= An image viewer that utilizes Imlib2
LICENSE= MIT
-LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
- giblib.1:${PORTSDIR}/graphics/giblib
+LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
+ libgiblib.so:${PORTSDIR}/graphics/giblib
USE_XORG= x11 xt xinerama
-USES= gmake perl5
+USES= gmake perl5 tar:bzip2 shebangfix desktop-file-utils
USE_PERL5= run
-USE_BZIP2= yes
-
-MAN1= feh.1 feh-cam.1 gen-cam-menu.1
+SHEBANG_FILES= ${WRKSRC}/cam/feh-cam
CPPFLAGS+= -I${LOCALBASE}/include -std=c99
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV+= LDFLAGS="${LDFLAGS}"
-PORTDOCS= AUTHORS ChangeLog README TODO
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-post-patch:
- @${REINPLACE_CMD} 's/install-man install-doc/install-man/' \
- ${WRKSRC}/Makefile
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/feh
+
.include <bsd.port.mk>
diff --git a/graphics/feh/distinfo b/graphics/feh/distinfo
index 47791bb89087..37913b8a482e 100644
--- a/graphics/feh/distinfo
+++ b/graphics/feh/distinfo
@@ -1,2 +1,2 @@
-SHA256 (feh-2.9.3.tar.bz2) = b4e8d603033af12afa77ae8020bcf4ff51c6950b9a6880a0fe32b04fdf7290f2
-SIZE (feh-2.9.3.tar.bz2) = 2082188
+SHA256 (feh-2.10.tar.bz2) = bc782a884eedd7a73284804d8145238f140fa59fed8d483102d1d25e8144ca83
+SIZE (feh-2.10.tar.bz2) = 2082905
diff --git a/graphics/feh/pkg-plist b/graphics/feh/pkg-plist
index 4cf01ea91596..a8354ba78985 100644
--- a/graphics/feh/pkg-plist
+++ b/graphics/feh/pkg-plist
@@ -2,9 +2,13 @@ bin/feh
bin/feh-cam
bin/gen-cam-menu
share/applications/feh.desktop
-%%EXAMPLESDIR%%/buttons
-%%EXAMPLESDIR%%/keys
-%%EXAMPLESDIR%%/themes
+man/man1/feh-cam.1.gz
+man/man1/feh.1.gz
+man/man1/gen-cam-menu.1.gz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/find-lowres
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/buttons
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keys
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/themes
%%DATADIR%%/fonts/black.style
%%DATADIR%%/fonts/menu.style
%%DATADIR%%/fonts/yudit.ttf
@@ -16,7 +20,12 @@ share/applications/feh.desktop
%%DATADIR%%/images/menubg_brushed.png
%%DATADIR%%/images/menubg_default.png
%%DATADIR%%/images/menubg_sky.png
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
@dirrm %%DATADIR%%/images
@dirrm %%DATADIR%%/fonts
@dirrm %%DATADIR%%
@dirrm %%EXAMPLESDIR%%
+@dirrm %%DOCSDIR%%