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
|
|
|
|
PORTVERSION= 1.0
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 15
|
2004-08-15 06:57:54 +02:00
|
|
|
CATEGORIES= x11
|
2006-12-06 16:06:13 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_NVIDIA:S,$,XFree86/${PORTNAME}/,} \
|
|
|
|
${MASTER_SITE_LOCAL:S,$,bland/,}
|
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} \
|
|
|
|
CC=${CC} \
|
- 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
|
|
|
|
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>
|