mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
5b4f2ad658
make things a bit more consistent. Approved by: portmgr (bapt)
31 lines
610 B
Makefile
31 lines
610 B
Makefile
# $FreeBSD$
|
|
#
|
|
# handle dependency on motif
|
|
#
|
|
# Feature: motif
|
|
# Usage: USES=motif
|
|
#
|
|
# If WANT_LESSTIF is defined in user make.conf then lesstif will be used
|
|
# instead of open-motif
|
|
#
|
|
# MAINTAINER: portmgr@FreeBSD.org
|
|
|
|
.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
|