summaryrefslogtreecommitdiff
path: root/x11/xlockmore-obsd/Makefile
blob: 46e542c9865fe294c60f57b1ad5e5462227a5499 (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

COMMENT =	lockscreen program for X
DISTNAME =	xlockmore-obsd-5.22

CATEGORIES =	x11

HOMEPAGE =	https://www.openbsd.org/

MAINTAINER =		xenocara@openbsd.org

# MIT
PERMIT_PACKAGE =	Yes

WANTLIB =		ICE SM X11 Xau Xdmcp Xext Xmu Xpm freetype xcb 
WANTLIB +=		${COMPILER_LIBCXX} c m z

MASTER_SITES =		https://xenocara.org/distfiles/app

MODULES =		xenocara

LIB_DEPENDS =		print/freetype2 x11/libXext x11/libXpm

CONFIGURE_STYLE =	simple
WRKDIST = 		${WRKDIR}/xlockmore

post-patch:
	@chmod a+rx ${WRKSRC}/configure

CONFIGURE_ARGS =	--datarootdir=${X11BASE} \
                --enable-appdefaultdir=${X11BASE}/share/X11/app-defaults \
                --enable-syslog --without-motif --without-ttf \
                --without-gtk2 --without-gtk --without-esound \
                --without-rplay --without-ftgl \
                --without-opengl --without-mesa

SEPARATE_BUILD =	tes

.include <bsd.port.mk>