mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
40 lines
835 B
Makefile
40 lines
835 B
Makefile
# New ports collection makefile for: wrapper
|
|
# Date created: 2000-09-18
|
|
# Whom: Trevor Johnson
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wrapper
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 9
|
|
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 <bsd.port.pre.mk>
|
|
|
|
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 <bsd.port.post.mk>
|