1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/x11/wrapper/Makefile
Ade Lovett 32f6a2767b Add wrapper, a program that runs an X server after sanity-checking
the environment and any options passed to it.  It is meant to
enhance security on multi-user systems running XFree86 4.x, where
the ability to use a startx script is needed.

If you have XFree86 3.x, do not install this, you do not need it
and it will not work.

PR:		21352
Submitted by:	Trevor Johnson <trevor@jpj.net>
2000-09-19 16:45:40 +00:00

33 lines
694 B
Makefile

# New ports collection makefile for: wrapper
# Date created: 2000-09-18
# Whom: Trevor Johnson <trevor@jpj.net>
#
# $FreeBSD$
#
PORTNAME= wrapper
PORTVERSION= 1.0
CATEGORIES= x11
MASTER_SITES= http://jpj.net/~trevor/freebsd/ports/
EXTRACT_SUFX= .c.gz
MAINTAINER= trevor@jpj.net
NO_WRKSUBDIR= yes
USE_X_PREFIX= yes
do-extract:
${MKDIR} ${WRKDIR}
${GUNZIP_CMD} -c ${_DISTDIR}${DISTFILES} > ${WRKSRC}/wrapper.c
do-build:
${CC} -o ${WRKDIR}/Xwrapper ${WRKDIR}/wrapper.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/Xwrapper ${PREFIX}/bin/
${LN} -sf ${PREFIX}/bin/Xwrapper ${PREFIX}/bin/X
${CHMOD} -s ${PREFIX}/bin/XFree86
${CHMOD} +s ${PREFIX}/bin/Xwrapper
.include <bsd.port.mk>