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
|
|
|
|
2000-10-02 07:39:35 +02:00
|
|
|
MAINTAINER= trevor@FreeBSD.org
|
2003-03-07 07:36:20 +01:00
|
|
|
COMMENT= Wrapper for XFree86-4 server
|
2000-09-19 18:45:40 +02:00
|
|
|
|
2002-03-11 14:04:28 +01:00
|
|
|
RUN_DEPENDS= XFree86:${PORTSDIR}/x11-servers/XFree86-4-Server
|
|
|
|
|
2000-09-19 18:45:40 +02:00
|
|
|
NO_WRKSUBDIR= yes
|
2004-01-22 14:40:13 +01:00
|
|
|
PLIST_FILES= bin/Xwrapper-4
|
2000-09-19 18:45:40 +02:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
|
2000-10-23 14:54:03 +02:00
|
|
|
do-fetch:
|
2000-09-19 18:45:40 +02:00
|
|
|
|
|
|
|
do-build:
|
2004-02-17 02:58:49 +01:00
|
|
|
${CC} ${CFLAGS} -DXSERVER_PATH=\"${X11BASE}/bin/XFree86\" -o ${WRKSRC}/Xwrapper-4 ${FILESDIR}/wrapper.c
|
2000-09-19 18:45:40 +02:00
|
|
|
|
|
|
|
do-install:
|
2002-03-11 14:04:28 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Xwrapper-4 ${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.pre.mk>
|
|
|
|
.if ${X_WINDOW_SYSTEM:L} != xfree86-4
|
|
|
|
IGNORE= is part of XFree86-4
|
|
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|