2005-12-14 16:35:14 +01:00
|
|
|
# New ports collection makefile for: nvidia-settings
|
2004-08-15 06:57:54 +02:00
|
|
|
# Date created: 15 Aug 2004
|
|
|
|
# Whom: Alexander Nedotsukov <bland@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= nvidia-settings
|
2009-04-07 09:39:36 +02:00
|
|
|
PORTVERSION= 185.19
|
2004-08-15 06:57:54 +02:00
|
|
|
CATEGORIES= x11
|
2008-06-19 05:13:19 +02:00
|
|
|
MASTER_SITES= ftp://download.nvidia.com/XFree86/nvidia-settings/ \
|
|
|
|
ftp://download1.nvidia.com/XFree86/nvidia-settings/
|
2004-08-15 06:57:54 +02:00
|
|
|
|
|
|
|
MAINTAINER= bland@FreeBSD.org
|
2005-12-14 16:35:14 +01:00
|
|
|
COMMENT= Display Control Panel for X NVidia driver
|
2004-08-15 06:57:54 +02:00
|
|
|
|
|
|
|
USE_GNOME= gtk20
|
|
|
|
USE_GMAKE= yes
|
2007-05-19 22:36:56 +02:00
|
|
|
USE_GL= gl
|
- 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
|
|
|
USE_XORG= xv
|
2004-08-15 06:57:54 +02:00
|
|
|
|
|
|
|
PLIST_FILES= bin/nvidia-settings
|
2005-12-14 16:35:14 +01:00
|
|
|
MAN1= nvidia-settings.1
|
2004-08-15 06:57:54 +02:00
|
|
|
|
2005-09-02 07:48:44 +02:00
|
|
|
MAKE_ENV= ROOT=${PREFIX} \
|
- 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
|
|
|
X11R6_LIB_DIR=${LOCALBASE}/lib \
|
|
|
|
X11R6_INC_DIR=${LOCALBASE}/include \
|
2006-08-23 20:40:44 +02:00
|
|
|
LDFLAGS="${PTHREAD_LIBS}"
|
2004-08-15 06:57:54 +02:00
|
|
|
|
2008-06-19 05:13:19 +02:00
|
|
|
WRKSRC= ${WRKDIR}/nvidia-settings-1.0
|
|
|
|
|
2005-12-14 16:35:14 +01:00
|
|
|
pre-build:
|
|
|
|
cd ${WRKSRC}/src/libXNVCtrl; \
|
- 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
|
|
|
${CC} -c -I${LOCALBASE}/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO \
|
2005-12-14 16:35:14 +01:00
|
|
|
-DXTHREADS -DXUSE_MTSAFE_API -DMALLOC_0_RETURNS_NULL NVCtrl.c; \
|
|
|
|
${RM} -f libXNVCtrl.a; \
|
|
|
|
ar clq libXNVCtrl.a NVCtrl.o; \
|
|
|
|
ranlib libXNVCtrl.a
|
2005-09-02 07:48:44 +02:00
|
|
|
|
2004-08-15 06:57:54 +02:00
|
|
|
.include <bsd.port.mk>
|