2000-09-19 18:45:40 +02:00
|
|
|
# New ports collection makefile for: wrapper
|
|
|
|
# Date created: 2000-09-18
|
2003-11-13 11:11:35 +01:00
|
|
|
# Whom: Trevor Johnson
|
2000-09-19 18:45:40 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wrapper
|
2000-10-23 14:54:03 +02:00
|
|
|
PORTVERSION= 1.0
|
2008-06-20 16:38:56 +02:00
|
|
|
PORTREVISION= 7
|
2000-09-19 18:45:40 +02:00
|
|
|
CATEGORIES= x11
|
2004-02-17 02:54:46 +01:00
|
|
|
DISTNAME= # intentionally left blank
|
|
|
|
EXTRACT_SUFX= # intentionally left blank
|
2000-09-19 18:45:40 +02:00
|
|
|
|
2008-06-20 16:38:56 +02:00
|
|
|
MAINTAINER= x11@FreeBSD.org
|
2008-06-20 18:46:38 +02:00
|
|
|
COMMENT= Wrapper for xorg server
|
|
|
|
|
|
|
|
RUN_DEPENDS= Xorg:${PORTSDIR}/x11-servers/xorg-server
|
2002-03-11 14:04:28 +01:00
|
|
|
|
2000-09-19 18:45:40 +02:00
|
|
|
NO_WRKSUBDIR= yes
|
2005-03-15 07:12:06 +01:00
|
|
|
PLIST_FILES= bin/Xwrapper
|
2008-03-25 23:44:48 +01:00
|
|
|
USE_XORG= x11
|
2000-09-19 18:45:40 +02:00
|
|
|
|
2005-03-15 07:12:06 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
2008-03-07 22:47:50 +01:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- 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)
2008-04-19 19:56:05 +02:00
|
|
|
XSERVER= -DXSERVER_PATH=\"${LOCALBASE}/bin/Xorg\"
|
2005-03-15 07:12:06 +01:00
|
|
|
PKGNAMEPREFIX= xorg-
|
|
|
|
COMMENT= Wrapper for X.org X11 server
|
|
|
|
|
2000-10-23 14:54:03 +02:00
|
|
|
do-fetch:
|
2000-09-19 18:45:40 +02:00
|
|
|
|
|
|
|
do-build:
|
2005-03-15 07:12:06 +01:00
|
|
|
${CC} ${CFLAGS} ${XSERVER} -o ${WRKSRC}/Xwrapper ${FILESDIR}/wrapper.c
|
2000-09-19 18:45:40 +02:00
|
|
|
|
|
|
|
do-install:
|
2005-03-15 07:12:06 +01:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/Xwrapper ${PREFIX}/bin
|
2000-10-23 14:03:46 +02:00
|
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
2000-09-19 18:45:40 +02:00
|
|
|
|
2004-07-23 21:10:32 +02:00
|
|
|
.include <bsd.port.post.mk>
|