blob: 34cfed5a4aef4a6ee33f0e352d345e1ae9c611ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Created by: Jeremy Norris <ishmael127@home.com>
# $FreeBSD$
PORTNAME= feh
PORTVERSION= 2.26.3
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
USE_PERL5= run
CPE_VENDOR= daniel_friesel
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
CAM_MAKE_ENV= cam=1
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 <bsd.port.mk>
|