aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/lesstif/Makefile
blob: 34bbf09a5d85f402b85903aa210763bb04fa76d7 (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
31
32
33
34
35
36
37
38
# Created by: 1wardd@airmail.net
# $FreeBSD$

PORTNAME=	lesstif
PORTVERSION=	0.95.2
PORTREVISION=	6
PORTEPOCH=	2
CATEGORIES=	x11-toolkits
MASTER_SITES=	SF

MAINTAINER=	dinoex@FreeBSD.org
COMMENT=	API compatible clone of the Motif toolkit

LICENSE=	LGPL20+

LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
		libfreetype.so:print/freetype2

CONFLICTS?=	open-motif-*

USES=		tar:bzip2 libtool
USE_XORG=	sm ice xt xp xext x11 xorgproto xrender xft
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-static --enable-shared --enable-production \
		--disable-maintainer-mode \
		--with-fontconfig-lib=${LOCALBASE}/lib \
		--with-freetype-lib=${LOCALBASE}/lib

post-patch:
	@${REINPLACE_CMD} 's,freetype/freetype.h,freetype.h,' \
		${WRKSRC}/configure

post-install:
	${INSTALL_DATA} ${WRKSRC}/scripts/autoconf/ac_find_motif.m4 \
		${STAGEDIR}${PREFIX}/share/aclocal

.include <bsd.port.mk>