aboutsummaryrefslogtreecommitdiffstats
path: root/x11/wrapper/Makefile
blob: 6b4ac729cf40f16751e80053c0e05529b4792463 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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>