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

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

MODULES =		xenocara

LIB_DEPENDS =		print/freetype2 x11/libXext x11/libXpm

SEPARATE_BUILD =	Yes
CONFIGURE_STYLE =	simple
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

WRKDIST = 		${WRKDIR}/xlockmore

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

.include <bsd.port.mk>