diff --git a/graphics/feh/Makefile b/graphics/feh/Makefile index a383ca34ae6f..fe0c5e056813 100644 --- a/graphics/feh/Makefile +++ b/graphics/feh/Makefile @@ -1,59 +1,51 @@ # Created by: Jeremy Norris # $FreeBSD$ PORTNAME= feh PORTVERSION= 2.25.1 CATEGORIES= graphics MASTER_SITES= http://feh.finalrewind.org/ \ LOCAL/uqs MAINTAINER= zeising@FreeBSD.org COMMENT= Image viewer that utilizes Imlib2 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl \ libImlib2.so:graphics/imlib2 \ libpng.so:graphics/png +USES= cpe desktop-file-utils gmake localbase:ldflags \ + perl5 shebangfix tar:bzip2 +SHEBANG_FILES= cam/feh-cam USE_XORG= x11 xt xinerama -USES= cpe desktop-file-utils gmake perl5 shebangfix tar:bzip2 -CPE_VENDOR= daniel_friesel USE_PERL5= run +CPE_VENDOR= daniel_friesel -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib MAKE_ENV+= LDFLAGS="${LDFLAGS}" verscmp=0 OPTIONS_DEFINE= CAM DOCS EXAMPLES EXIF CAM_DESC= Install feh-cam and related tools EXIF_DESC= Support EXIF tags OPTIONS_DEFAULT=CAM EXIF OPTIONS_SUB= yes -EXIF_LIB_DEPENDS= libexif.so:graphics/libexif - -.include - -.if ${PORT_OPTIONS:MCAM} -MAKE_ENV+= cam=1 -SHEBANG_FILES= ${WRKSRC}/cam/feh-cam -.endif +CAM_MAKE_ENV= cam=1 -.if ${PORT_OPTIONS:MEXIF} -MAKE_ENV+= exif=1 -.endif +EXIF_LIB_DEPENDS= libexif.so:graphics/libexif +EXIF_MAKE_ENV= exif=1 post-patch-DOCS-off: @${REINPLACE_CMD} -e 's|install-doc||' \ ${WRKSRC}/Makefile post-patch-EXAMPLES-off: @${REINPLACE_CMD} -e 's|install-examples||' \ ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/feh .include diff --git a/graphics/feh/pkg-descr b/graphics/feh/pkg-descr index 20afc935b039..ddab88d95eb1 100644 --- a/graphics/feh/pkg-descr +++ b/graphics/feh/pkg-descr @@ -1,7 +1,7 @@ feh is a versatile and fast image viewer using imlib2, the premier image file handling library. feh has many features, from simple single file viewing, to multiple file modes using a slideshow or multiple windows. feh supports the creation of montages as index prints with many user-configurable options. -WWW: http://feh.finalrewind.org/ +WWW: https://feh.finalrewind.org/