mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
2c672a4de9
While here, make sure gtk-update-icon-cache is only on run dependency where added as a dependency Enforce gtk3 to depend on gtk-update-icon-cache (previously it was inheriting the dependency)
54 lines
1.5 KiB
Makefile
54 lines
1.5 KiB
Makefile
# Created by: Eric Turgeon <ericbsd@FreeBSD.org>
|
|
|
|
PORTNAME= slick-greeter
|
|
PORTVERSION= 1.5.3
|
|
CATEGORIES= x11
|
|
PORTREVISION= 2
|
|
|
|
MAINTAINER= ericbsd@FreeBSD.org
|
|
COMMENT= Slick-looking LightDM 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
|
|
BUILD_DEPENDS= valac:lang/vala
|
|
RUN_DEPENDS= numlockx>=0:x11/numlockx
|
|
|
|
USES= autoreconf gettext gmake gnome localbase pkgconfig python:run shebangfix 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>
|