summaryrefslogtreecommitdiff
path: root/x11/fvwm-obsd/Makefile
blob: 33846997479390b838a53c23e89c89dba96929d9 (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
# $OpenBSD: Makefile.template,v 1.83 2019/07/02 12:03:14 sthen Exp $

COMMENT =	fvwm is a window manager for X11 
DISTNAME =	fvwm-obsd-2.2.5

CATEGORIES =	x11

HOMEPAGE =	https://xenocara.org

MAINTAINER =		xenocara@openbsd.org

# MIT
PERMIT_PACKAGE =	Yes

WANTLIB =		ICE SM X11 Xau  Xdmcp Xext Xpm Xt xcb c 

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

MODULES =		xenocara

LIB_DEPENDS =		x11/libXext \
			x11/libXpm

RUN_DEPENDS =		x11/libXcursor

WRKDIST = 		${WRKDIR}/fvwm

FAKE_FLAGS =            PREFIX=${TRUEPREFIX} MANPREFIX=${TRUEPREFIX}/man \
			INSTALL_DATA="${INSTALL_DATA}" \
			INCSDIR=${PREFIX}/include \
			FVWMLIBDIR=${PREFIX}/lib/X11/fvwm

pre-install:
	${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/fvwm
	${INSTALL_DATA_DIR} ${PREFIX}/include/bitmaps
	${INSTALL_DATA_DIR} ${PREFIX}/include/pixmaps

post-install:
	@mv ${WRKINST}/fvwm ${PREFIX}/bin
	@mv ${WRKINST}/xpmroot ${PREFIX}/bin

t:
	@echo ${INSTALL_DATA}

.include <bsd.port.mk>