blob: 7c53a4b239857ac57de9a0df1eb86f17bd430f84 (
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
52
53
54
55
56
57
58
59
60
|
# Created by: Jacob House <jacob@jwfh.ca>
PORTNAME= i3lock-color
DISTVERSION= 2.13.c.4
CATEGORIES= x11
MAINTAINER= fjachuf@gmail.com
COMMENT= Enhanced i3lock with higher capacity
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${LOCALBASE}/bin/pam_helper:security/pam_helper
LIB_DEPENDS= libev.so:devel/libev \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libxcb-image.so:x11/xcb-util-image \
libxcb-keysyms.so:x11/xcb-util-keysyms \
libxcb-util.so:x11/xcb-util \
libxcb-xrm.so:x11/xcb-util-xrm \
libxkbcommon.so:x11/libxkbcommon \
libxkbfile.so:x11/libxkbfile
USES= autoreconf gmake gnome iconv jpeg localbase pkgconfig tar:bzip2 xorg
USE_CSTD= c99
USE_GCC= yes
USE_GITHUB= yes
GH_ACCOUNT= Raymo111
USE_GNOME= cairo
USE_XORG= x11 xcb xext xinerama xorgproto xrandr xt
GNU_CONFIGURE= yes
MAKE_ARGS= PREFIX="${PREFIX}" X11LIB="${LOCALBASE}/lib" \
X11INC="${LOCALBASE}/include" CC="${CC}" \
MANDIR="${MANPREFIX}/man"
LDFLAGS+= ${ICONV_LIB}
CONFLICTS_INSTALL= i3lock-[0-9]*
BUILD_WRKSRC= ${WRKSRC}/${CONFIGURE_TARGET}
INSTALL_WRKSRC= ${WRKSRC}/${CONFIGURE_TARGET}
PLIST_FILES= "@(,,4755) bin/i3lock" \
man/man1/i3lock.1.gz
OPTIONS_DEFINE= DOCS
DOC_FILES= CHANGELOG README.md
DOCS_PLIST_FILES= ${DOC_FILES:S|^|${DOCSDIR_REL}/|}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/i3lock
@${RM} ${STAGEDIR}${PREFIX}/etc/pam.d/i3lock
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|