2000-09-19 18:45:40 +02:00
|
|
|
# New ports collection makefile for: wrapper
|
|
|
|
# Date created: 2000-09-18
|
2003-11-13 11:11:35 +01:00
|
|
|
# Whom: Trevor Johnson
|
2000-09-19 18:45:40 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wrapper
|
2000-10-23 14:54:03 +02:00
|
|
|
PORTVERSION= 1.0
|
2003-04-21 12:00:58 +02:00
|
|
|
PORTREVISION= 3
|
2000-09-19 18:45:40 +02:00
|
|
|
CATEGORIES= x11
|
2004-02-17 02:54:46 +01:00
|
|
|
DISTNAME= # intentionally left blank
|
|
|
|
EXTRACT_SUFX= # intentionally left blank
|
2000-09-19 18:45:40 +02:00
|
|
|
|
2006-02-11 22:03:14 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2002-03-11 14:04:28 +01:00
|
|
|
|
2005-03-15 07:12:06 +01:00
|
|
|
CONFLICTS= XFree86-3.3.6*
|
2000-09-19 18:45:40 +02:00
|
|
|
NO_WRKSUBDIR= yes
|
2005-03-15 07:12:06 +01:00
|
|
|
PLIST_FILES= bin/Xwrapper
|
2000-09-19 18:45:40 +02:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
|
2005-03-15 07:12:06 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${X_WINDOW_SYSTEM:L} == xorg
|
|
|
|
XSERVER= -DXSERVER_PATH=\"/usr/X11R6/bin/Xorg\"
|
|
|
|
PKGNAMEPREFIX= xorg-
|
|
|
|
COMMENT= Wrapper for X.org X11 server
|
|
|
|
.elif ${X_WINDOW_SYSTEM:L} == xfree86-4
|
|
|
|
XSERVER= -DXSERVER_PATH=\"/usr/X11R6/bin/XFree86\"
|
|
|
|
RUN_DEPENDS= XFree86:${PORTSDIR}/x11-servers/XFree86-4-Server
|
|
|
|
PKGNAMEPREFIX= XFree86-4-
|
|
|
|
COMMENT= Wrapper for XFree86-4 server
|
|
|
|
.endif
|
|
|
|
|
2000-10-23 14:54:03 +02:00
|
|
|
do-fetch:
|
2000-09-19 18:45:40 +02:00
|
|
|
|
|
|
|
do-build:
|
2005-03-15 07:12:06 +01:00
|
|
|
${CC} ${CFLAGS} ${XSERVER} -o ${WRKSRC}/Xwrapper ${FILESDIR}/wrapper.c
|
2000-09-19 18:45:40 +02:00
|
|
|
|
|
|
|
do-install:
|
2005-03-15 07:12:06 +01:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/Xwrapper ${PREFIX}/bin
|
2000-10-23 14:03:46 +02:00
|
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
2000-09-19 18:45:40 +02:00
|
|
|
|
2004-07-23 21:10:32 +02:00
|
|
|
.include <bsd.port.post.mk>
|