- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
37 lines
775 B
Makefile
37 lines
775 B
Makefile
# New ports collection makefile for: wrapper
|
|
# Date created: 2000-09-18
|
|
# Whom: Trevor Johnson
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wrapper
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 6
|
|
CATEGORIES= x11
|
|
DISTNAME= # intentionally left blank
|
|
EXTRACT_SUFX= # intentionally left blank
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
CONFLICTS= XFree86-3.3.6*
|
|
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>
|