blob: 011e6ad0830050ab807ea1e4317154fabf290e0f (
plain)
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
|
PORTNAME= slick-greeter
PORTVERSION= 1.5.3
CATEGORIES= x11
PORTREVISION= 2
MAINTAINER= ericbsd@FreeBSD.org
COMMENT= Slick-looking LightDM greeter
WWW= https://github.com/linuxmint/slick-greeter
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \
libcanberra.so:audio/libcanberra \
libfreetype.so:print/freetype2 \
libharfbuzz.so:print/harfbuzz \
liblightdm-gobject-1.so:x11/lightdm
RUN_DEPENDS= numlockx>=0:x11/numlockx
USES= autoreconf gettext gmake gnome localbase pkgconfig python:run shebangfix \
vala:build xorg
USE_GNOME= cairo dconf gdkpixbuf2 gtk30 intltool pygobject3
USE_XORG= pixman x11 xext
USE_GITHUB= yes
GH_ACCOUNT= linuxmint
GNU_CONFIGURE= yes
SHEBANG_FILES= files/usr/bin/slick-greeter-check-hidpi \
files/usr/bin/slick-greeter-set-keyboard-layout \
makepot
bash_OLD_CMD= /usr/bin/bash
bash_CMD= /bin/sh
SUB_FILES= pkg-deinstall pkg-install
GLIB_SCHEMAS= x.dm.slick-greeter.gschema.xml
post-patch:
@${REINPLACE_CMD} -e 's|"/usr|"${PREFIX}|g' \
-e 's|"/etc|"${PREFIX}/etc|g' \
${WRKSRC}/files/usr/bin/slick-greeter-set-keyboard-layout \
${WRKSRC}/src/session-list.vala \
${WRKSRC}/src/settings.vala \
${WRKSRC}/src/slick-greeter.vala \
${WRKSRC}/src/user-list.vala
@${RM} ${WRKSRC}/files/usr/bin/slick-greeter-set-keyboard-layout.bak
@${MKDIR} ${WRKSRC}/files/${PREFIX}
@${MV} ${WRKSRC}/files/usr/bin ${WRKSRC}/files/${PREFIX}/bin
@${MV} ${WRKSRC}/files/usr/share ${WRKSRC}/files/${PREFIX}/share
.include <bsd.port.mk>
|