freebsd-ports/x11/wrapper/Makefile
Eric Anholt 4eb209da7d - Add the X_WINDOW_SYSTEM={xorg,xfree86-4,xfree86-3} variable to bsd.port.mk,
and make XFREE86_VERSION map to it.  XFREE86_VERSION is now deprecated.
- Make xorg the default X_WINDOW_SYSTEM on -current.
- Add several new X_*_PORT variables which point to various pieces of X11 based
  on the setting of X_WINDOW_SYSTEM, and make ports use them.
- Add information to CHANGES about how to handle the transition.

PR:		ports/68763
Approved by:	portmgr (marcus)
Approved by:	re (scottl)
2004-07-23 19:10:32 +00:00

37 lines
854 B
Makefile

# New ports collection makefile for: wrapper
# Date created: 2000-09-18
# Whom: Trevor Johnson
#
# $FreeBSD$
#
PORTNAME= wrapper
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= x11
DISTNAME= # intentionally left blank
EXTRACT_SUFX= # intentionally left blank
MAINTAINER= trevor@FreeBSD.org
COMMENT= Wrapper for XFree86-4 server
RUN_DEPENDS= XFree86:${PORTSDIR}/x11-servers/XFree86-4-Server
NO_WRKSUBDIR= yes
PLIST_FILES= bin/Xwrapper-4
USE_X_PREFIX= yes
do-fetch:
do-build:
${CC} ${CFLAGS} -DXSERVER_PATH=\"${X11BASE}/bin/XFree86\" -o ${WRKSRC}/Xwrapper-4 ${FILESDIR}/wrapper.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/Xwrapper-4 ${PREFIX}/bin
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.pre.mk>
.if ${X_WINDOW_SYSTEM:L} != xfree86-4
IGNORE= is part of XFree86-4
.endif
.include <bsd.port.post.mk>