ports/127416: updated Makefile for x11/xorg
Eitan Adler
eitan.adler+fbsd at gmail.com
Tue Sep 16 03:30:03 UTC 2008
>Number: 127416
>Category: ports
>Synopsis: updated Makefile for x11/xorg
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 16 03:30:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Eitan Adler
>Release: N/A
>Organization:
>Environment:
N/A
>Description:
Attached is an updated x11/xorg Makefile with some knobs for a minimal amount of modularity.
I plan to publish an update that has a "base" knob with only the minimal requirements.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# New ports collection makefile for: xorg
# Date created: 18 Jun 2004
# Whom: anholt
#
# $FreeBSD: ports/x11/xorg/Makefile,v 1.24 2008/07/15 12:37:09 flz Exp $
#
PORTNAME= xorg
PORTVERSION= 7.3
PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= # none
DISTFILES= # none
EXTRACT_ONLY= # none
MAINTAINER= x11 at FreeBSD.org
COMMENT= X.Org complete distribution metaport
NO_BUILD= yes
RUN_DEPENDS+= ${LOCALBASE}/lib/dri/r128_dri.so:${PORTSDIR}/graphics/dri
OPTIONS= APPS "make with xorg-apps" off \
DOCS "include docs" off \
DRIVERS "include druvers" on \
ALL_FONT "include all fonts" on
# MIN_FONT "just the minimal fonts ## don't include yet
# data
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/xbitmaps.pc:${PORTSDIR}/x11/xbitmaps \
${LOCALBASE}/lib/X11/icons/handhelds/cursors/X_cursor:${PORTSDIR}/x11-themes/xcursor-themes
# lib, font, driver, proto
RUN_DEPENDS+= ${LOCALBASE}/libdata/xorg/libraries:${PORTSDIR}/x11/xorg-libraries \
${LOCALBASE}/libdata/xorg/protos:${PORTSDIR}/x11/xorg-protos
# drivers
.if defined(WITH_ALL_FONT)
RUN_DEPENDS+= ${LOCALBASE}/libdata/xorg/fonts:${PORTSDIR}/x11-fonts/xorg-fonts
.endif
# drivers
.if defined(WITH_DRIVERS)
RUN_DEPENDS+= ${LOCALBASE}/libdata/xorg/drivers:${PORTSDIR}/x11-drivers/xorg-drivers
.endif
# app
.if defined(WITH_APPS)
RUN_DEPENDS+= ${LOCALBASE}/libdata/xorg/apps:${PORTSDIR}/x11/xorg-apps
.endif
# doc
.if !defined(NOPORTDOCS)
.if defined(WITH_DOCS)
RUN_DEPENDS+= ${LOCALBASE}/share/X11/doc/hardcopy/BDF/bdf.PS.gz:${PORTSDIR}/x11/xorg-docs
.endif
.endif
.if defined(XORG_COMPLETE)
RUN_DEPENDS+= Xnest:${PORTSDIR}/x11-servers/xorg-nestserver \
Xdmx:${PORTSDIR}/x11-servers/xorg-dmx \
Xvfb:${PORTSDIR}/x11-servers/xorg-vfbserver
.endif
do-install: # empty
pre-everything::
@${ECHO_MSG} "This is a meta-port, meaning that it just depends on its subparts of the port."
@${ECHO_MSG} "It won't build and install all the parts until you have typed make install"
@${ECHO_MSG} "This port does not ensure things are upgraded; use portupgrade if you want to"
@${ECHO_MSG} "upgrade X.Org. If you simply type 'make install' it may use over 2GB to build"
@${ECHO_MSG} "all of the subports. You can install the ports singly if you are low on space."
.include <bsd.port.pre.mk>
.if make(package)
.if !defined(DEPENDS_TARGET:Mpackage) || empty(DEPENDS_TARGET:Mpackage)
DEPENDS_TARGET="package"
.endif
.endif
.if ${ARCH} != "alpha" && ${ARCH} != "ia64"
RUN_DEPENDS+= ${LOCALBASE}/bin/Xorg:${PORTSDIR}/x11-servers/xorg-server
.endif
.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list