summaryrefslogtreecommitdiff
path: root/x11/wrapper/Makefile
blob: 6ed740c8b6efe25794370bbe48315839c339b76e (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
# New ports collection makefile for:	wrapper
# Date created:				2000-09-18
# Whom:					Trevor Johnson <trevor@jpj.net>
#
# $FreeBSD$
#

PORTNAME=	wrapper
PORTVERSION=	1.0
PORTREVISION=	3
CATEGORIES=	x11

MAINTAINER=	trevor@FreeBSD.org
COMMENT=	Wrapper for XFree86-4 server

RUN_DEPENDS=	XFree86:${PORTSDIR}/x11-servers/XFree86-4-Server

NO_WRKSUBDIR=	yes
PLIST=		${WRKDIR}/pkg-plist
USE_X_PREFIX=	yes

do-fetch:

do-build:
	${CC} ${CFLAGS} -o ${WRKSRC}/Xwrapper-4 ${FILESDIR}/wrapper.c

pre-install:
	${ECHO_CMD} bin/Xwrapper-4 > ${PLIST}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/Xwrapper-4 ${PREFIX}/bin
	@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

.include <bsd.port.mk>