summaryrefslogtreecommitdiff
path: root/x11/libXaw/Makefile
blob: b5682c3e5bc7d176b15a099890b9974ba411f8ab (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
COMMENT =	X Athena Widget Set

DISTNAME =	libXaw-1.0.15
CATEGORIES =	x11

HOMEPAGE =	https://gitlab.freedesktop.org/xorg/lib/libxaw

MAINTAINER =	xenocara@openbsd.org

SHARED_LIBS=    Xaw7 15.0 Xaw 15.0

# MIT
PERMIT_PACKAGE =	Yes

WANTLIB =		Xt ICE SM X11 Xau Xdmcp Xext Xmu Xpm X11 xcb pthread

MASTER_SITES =		${MASTER_SITE_XORG:=lib/}

MODULES =		xenocara

BUILD_DEPENDS =		devel/xorg-util-macros \
			devel/xorgproto

LIB_DEPENDS =		x11/libXmu \
			x11/libXpm

SEPARATE_BUILD =	Yes
CONFIGURE_STYLE =	gnu

CONFIGURE_ARGS = 	--disable-xaw6 \
	        	--without-xmlto --without-fop --without-xsltproc

post-install:
	-rm -f $(PREFIX)/lib/libXaw.a
	(cd $(PREFIX)/lib && ln -s libXaw7.a libXaw.a && \
	 chown -h $(BINOWN):$(BINGRP) libXaw.a )
	-rm -f $(PREFIX)/lib/libXaw.so.15.0
	-rm -f $(PREFIX)/lib/libXaw.so.7
	(cd $(PREFIX)/lib && ln -s libXaw7.so.15.0 libXaw.so.15.0 && \
	 chown -h $(BINOWN):$(BINGRP) libXaw.so.15.0)

NO_TEST =		Yes

.include <bsd.port.mk>