b7d8270620
PR: 240923 Submitted by: Niclas Zeising
41 lines
961 B
Makefile
41 lines
961 B
Makefile
# Created by: 1wardd@airmail.net
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lesstif
|
|
PORTVERSION= 0.95.2
|
|
PORTREVISION= 7
|
|
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 xorg
|
|
USE_XORG= sm ice xt x11 xext xorgproto xrender xft
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= lt_cv_libxp=no
|
|
CONFIGURE_ARGS= --enable-static --enable-shared --enable-production \
|
|
--disable-maintainer-mode \
|
|
--with-fontconfig-lib=${LOCALBASE}/lib \
|
|
--with-freetype-lib=${LOCALBASE}/lib
|
|
INSTALL_TARGET= install-strip
|
|
|
|
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>
|