mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
5933ac0b09
The conflict checks compare the patterns first against the package names without version (as reported by "pkg query "%n"), then - if there was no match - agsinst the full package names including the version (as reported by "pkg query "%n-%v"). Approved by: portmgr (blanket)
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
# Created by: Dennis Herrmann <dhn@FreeBSD.org>
|
|
|
|
PORTNAME= i3lock
|
|
PORTVERSION= 2.13
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://i3wm.org/${PORTNAME}/
|
|
|
|
MAINTAINER= bapt@FreeBSD.org
|
|
COMMENT= Slightly improved screen locker based on slock
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libcairo.so:graphics/cairo \
|
|
libxcb-keysyms.so:x11/xcb-util-keysyms \
|
|
libxcb-image.so:x11/xcb-util-image \
|
|
libev.so:devel/libev \
|
|
libxkbfile.so:x11/libxkbfile \
|
|
libxkbcommon.so:x11/libxkbcommon \
|
|
libxcb-util.so:x11/xcb-util \
|
|
libxcb-xrm.so:x11/xcb-util-xrm
|
|
|
|
MAKE_ARGS= PREFIX="${PREFIX}" X11LIB="${LOCALBASE}/lib" \
|
|
X11INC="${LOCALBASE}/include" CC="${CC}" \
|
|
MANDIR="${MANPREFIX}/man"
|
|
|
|
PLIST_FILES= "@(,,4755) bin/i3lock" \
|
|
man/man1/i3lock.1.gz
|
|
|
|
USES= gmake iconv localbase pkgconfig tar:bzip2 xorg
|
|
LDFLAGS+= ${ICONV_LIB}
|
|
USE_XORG= x11 xcb xt xorgproto xext
|
|
USE_CSTD= c99
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFLICTS_INSTALL= i3lock-color
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/${CONFIGURE_TARGET}
|
|
INSTALL_WRKSRC= ${WRKSRC}/${CONFIGURE_TARGET}
|
|
|
|
PORTDOCS= CHANGELOG README.md
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/i3lock
|
|
@${RM} ${STAGEDIR}${PREFIX}/etc/pam.d/i3lock
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|