mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
0fae2e9e0e
Change x11/xorgproto to become a build time dependency when added to USE_XORG. Change the dependency to be on the port, rather than a file the port installs. Fix fallout. Bump portrevision on depending ports. PR: 230909 Reviewed by: eadler Approved by: portmgr (antoine) Obtained from: https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto exp-run: antoine Differential Revision: https://reviews.freebsd.org/D16906
39 lines
899 B
Makefile
39 lines
899 B
Makefile
# 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>
|