View | Details | Raw Unified | Return to bug 197585
Collapse All | Expand All

(-)slim.mine/Makefile (-3 / +10 lines)
Lines 18-24 Link Here
18
		libjpeg.so:${PORTSDIR}/graphics/jpeg \
18
		libjpeg.so:${PORTSDIR}/graphics/jpeg \
19
		libpng.so:${PORTSDIR}/graphics/png \
19
		libpng.so:${PORTSDIR}/graphics/png \
20
		libfreetype.so:${PORTSDIR}/print/freetype2 \
20
		libfreetype.so:${PORTSDIR}/print/freetype2 \
21
		libck-connector.so:${PORTSDIR}/sysutils/consolekit \
22
		libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
21
		libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
23
22
24
USES=		cmake pkgconfig
23
USES=		cmake pkgconfig
Lines 32-41 Link Here
32
	-DBUILD_SLIMLOCK=no \
31
	-DBUILD_SLIMLOCK=no \
33
	-DBUILD_SHARED_LIBS=yes
32
	-DBUILD_SHARED_LIBS=yes
34
33
35
OPTIONS_DEFINE=		PAM UTF8
34
OPTIONS_DEFINE=		PAM UTF8 CONSOLEKIT
36
OPTIONS_DEFAULT=	PAM
35
OPTIONS_DEFAULT=	PAM CONSOLEKIT
37
36
38
UTF8_DESC=	Support UTF-8 characters
37
UTF8_DESC=	Support UTF-8 characters
38
CONSOLEKIT_DESC=Enable support for consolekit
39
39
40
PLIST_SUB+=	VERSION="${PORTVERSION}"
40
PLIST_SUB+=	VERSION="${PORTVERSION}"
41
41
Lines 54-59 Link Here
54
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-utf8
54
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-utf8
55
.endif
55
.endif
56
56
57
.if ${PORT_OPTIONS:MCONSOLEKIT}
58
CMAKE_ARGS+=	-DUSE_CONSOLEKIT=yes
59
LIB_DEPENDS+=	libck-connector.so:${PORTSDIR}/sysutils/consolekit
60
.else
61
CMAKE_ARGS+=	-DUSE_CONSOLEKIT=no
62
.endif
63
57
post-patch:
64
post-patch:
58
	@${CP} ${WRKSRC}/slim.conf ${WRKSRC}/slim.conf.sample
65
	@${CP} ${WRKSRC}/slim.conf ${WRKSRC}/slim.conf.sample
59
	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
66
	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \

Return to bug 197585