freebsd-ports/x11/wrapper/Makefile
Trevor Johnson c86c71f92f Support non-default X11BASE.
PR:		62882
Submitted by:	Stefan Grundmann of waset.de
2004-02-17 01:58:49 +00:00

34 lines
748 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.mk>