mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
40 lines
912 B
Makefile
40 lines
912 B
Makefile
# New ports collection makefile for: libX11
|
|
# Date Created: 28 Oct, 2003
|
|
# Whom: Eric Anholt <anholt@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libX11
|
|
PORTVERSION= 1.1.3
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= x11
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= X11 library
|
|
|
|
OPTIONS= XCB "use XCB for low-level protocol implementation" off
|
|
|
|
XORG_CAT= lib
|
|
USE_XORG= bigreqsproto xau xcmiscproto xdmcp xextproto xtrans \
|
|
kbproto:both inputproto xf86bigfontproto xproto:both
|
|
USE_XORG+=
|
|
USE_AUTOTOOLS= libtool:15
|
|
CONFIGURE_ARGS+= --enable-xdmauth --datadir=${PREFIX}/lib
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_XCB)
|
|
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/xcb-xlib.pc:${PORTSDIR}/x11/libxcb
|
|
RUN_DEPENDS+= ${BUILD_DEPENDS}
|
|
CONFIGURE_ARGS+= --with-xcb=yes
|
|
PLIST_SUB+= XCB=""
|
|
.else
|
|
CONFIGURE_ARGS+= --with-xcb=no
|
|
PLIST_SUB+= XCB="@comment "
|
|
.endif
|
|
|
|
.include "${.CURDIR}/manpages"
|
|
.include <bsd.port.post.mk>
|