mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
cf32c04f44
- Avoid USE_AUTOTOOLS - Fix detection of fontconfig and freetype
37 lines
905 B
Makefile
37 lines
905 B
Makefile
# Created by: 1wardd@airmail.net
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lesstif
|
|
PORTVERSION= 0.95.2
|
|
PORTREVISION= 4
|
|
PORTEPOCH= 2
|
|
CATEGORIES= x11-toolkits
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
COMMENT= API compatible clone of the Motif toolkit
|
|
|
|
LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
|
|
libfreetype.so:${PORTSDIR}/print/freetype2
|
|
|
|
CONFLICTS?= open-motif-*
|
|
|
|
USES= libtool tar:bzip2
|
|
USE_XORG= sm ice xt xp xext x11 xextproto 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>
|