2000-09-19 16:45:40 +00:00
|
|
|
# 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
|
|
|
|
|
2000-10-02 05:39:35 +00:00
|
|
|
MAINTAINER= trevor@FreeBSD.org
|
2000-09-19 16:45:40 +00:00
|
|
|
|
2000-10-23 12:03:46 +00:00
|
|
|
RUN_DEPENDS= XFree86:${PORTSDIR}/x11-servers/XFree86-4-Server
|
|
|
|
|
2000-09-19 16:45:40 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
${MKDIR} ${WRKDIR}
|
|
|
|
${GUNZIP_CMD} -c ${_DISTDIR}${DISTFILES} > ${WRKSRC}/wrapper.c
|
|
|
|
|
|
|
|
do-build:
|
2000-10-23 12:03:46 +00:00
|
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -o Xwrapper wrapper.c
|
2000-09-19 16:45:40 +00:00
|
|
|
|
|
|
|
do-install:
|
2000-10-23 12:03:46 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Xwrapper ${PREFIX}/bin
|
|
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
2000-09-19 16:45:40 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|