blob: 4e2ea0ad4cd85579338e9b00422918ad8659c545 (
plain) (
blame)
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
|
# $FreeBSD$
#
# handle dependency on motif
#
# MAINTAINER: portmgr@FreeBSD.org
#
# Feature: motif
# Usage: USES=motif
#
# If WANT_LESSTIF is defined in user make.conf then lesstif will be used
# instead of open-motif
.if !defined(_INCLUDE_USES_MOTIF_MK)
_INCLUDE_USES_MOTIF_MK= yes
.if defined(motif_ARGS)
IGNORE= USES=motif takes no arguments
.endif
.if defined(WANT_LESSTIF)
LIB_DEPENDS+= libXm.so:${PORTSDIR}/x11-toolkits/lesstif
.else
USE_XORG+= xpm
LIB_DEPENDS+= libXm.so.4:${PORTSDIR}/x11-toolkits/open-motif
.endif
MOTIFLIB?= -L${LOCALBASE}/lib -lXm -lXp
MAKE_ENV+= MOTIFLIB="${MOTIFLIB}"
.endif
|