# New ports collection makefile for: wrapper # Date created: 2000-09-18 # Whom: Trevor Johnson # # $FreeBSD$ # PORTNAME= wrapper PORTVERSION= 1.0 PORTREVISION= 7 CATEGORIES= x11 DISTNAME= # intentionally left blank EXTRACT_SUFX= # intentionally left blank MAINTAINER= x11@FreeBSD.org COMMENT= Wrapper for xorg server RUN_DEPENDS= Xorg:${PORTSDIR}/x11-servers/xorg-server NO_WRKSUBDIR= yes PLIST_FILES= bin/Xwrapper USE_XORG= x11 .include XSERVER= -DXSERVER_PATH=\"${LOCALBASE}/bin/Xorg\" PKGNAMEPREFIX= xorg- COMMENT= Wrapper for X.org X11 server do-fetch: do-build: ${CC} ${CFLAGS} ${XSERVER} -o ${WRKSRC}/Xwrapper ${FILESDIR}/wrapper.c do-install: @${INSTALL_PROGRAM} ${WRKSRC}/Xwrapper ${PREFIX}/bin @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include