-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
90 lines (64 loc) · 2.39 KB
/
Makefile
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
PORTNAME= feh
DISTVERSION= g20240223
CATEGORIES= graphics
PKGNAMESUFFIX= -dev
DISTNAME= ${PORTNAME}-${GH_TAGNAME}
DIST_SUBDIR= ${PORTNAME}${PKGNAMESUFFIX}
MAINTAINER= nope@nothere
COMMENT= Image viewer that utilizes Imlib2
LICENSE= MIT
LIB_DEPENDS= libImlib2.so:graphics/imlib2 libpng.so:graphics/png
USES= compiler:c++11-lang cpe desktop-file-utils gmake localbase:ldflags tar:bzip2 xorg
CONFLICTS= feh
USE_GITHUB= nodefault
GH_ACCOUNT= derf
GH_PROJECT= feh
GH_TAGNAME= 2d8f9e1333609c17cf07790361a401ecf3515e36
WRKSRC= ${WRKDIR}/${PORTNAME}-${GH_TAGNAME}
USE_XORG= x11 xt xinerama
#CPE_VENDOR= feh_project
MAKE_ENV+= LDFLAGS="${LDFLAGS}" verscmp=0
#OPTIONS_DEFINE= APP CURL DCRAW DEBUG DOCS EXAMPLES EXIF HELP STAT64 MKSTEMPS XINERAMA
OPTIONS_DEFINE= CURL DCRAW DEBUG DOCS EXAMPLES EXIF HELP STAT64 MKSTEMPS XINERAMA
EXIF_DESC= Support EXIF tags
DCRAW_DESC= Use dcraw to display raw file previews
OPTIONS_DEFAULT=DOCS DCRAW EXIF HELP MKSTEMPS XINERAMA
OPTIONS_SUB= yes
# This option causes failure/error: gtk-update-icon-cache: No theme index file.
#APP_MAKE_ENV= app=1
APP_MAKE_ENV_OFF= app=0
CURL_DESC= Data transfer support, requires curl heimdal option
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
CURL_MAKE_ENV= curl=1
CURL_MAKE_ENV_OFF= curl=0
DCRAW_RUN_DEPENDS= dcraw:graphics/dcraw
DEBUG_MAKE_ENV= debug=1
DEBUG_MAKE_ENV_OFF= debug=0
# Not an option, is default action?
#DOCS_MAKE_ENV=
#DOCS_MAKE_ENV_OFF=
EXIF_LIB_DEPENDS= libexif.so:graphics/libexif
EXIF_MAKE_ENV= exif=1
EXIF_MAKE_ENV_OFF= exif=0
# Live/online help such as --help cli flag?
HELP_MAKE_ENV= help=1
HELP_MAKE_ENV_OFF= help=0
# inotify is a Linux kernel mechanism which could be replaced by security/fswatch in a script
# with feh but the inotify mechanism itself will not exist, kqueue could be overloaded.
#INOTIFY_MAKE_ENV= inotify=1
INOTIFY_MAKE_ENV_OFF= inotify=0
MKSTEMPS_MAKE_ENV= mkstemps=1
MKSTEMPS_MAKE_ENV_OFF= mkstemps=0
XINERAMA_MAKE_ENV= xinerama=1
XINERAMA_MAKE_ENV_OFF= xinerama=0
# Above options may affect some dependencies but presently do not change what is installed.
# The pkg-plist attempts to conditional install for the examples option, but uncertain.
#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>