1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Add nvidia-xconfig 1.0, tool to manipulate X configuration files for the

NVidia driver.
This commit is contained in:
Alexander Nedotsukov 2005-12-10 08:48:37 +00:00
parent 757aa194da
commit d86ca93fa5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150780
5 changed files with 79 additions and 0 deletions

View File

@ -142,6 +142,7 @@
SUBDIR += numlockx
SUBDIR += nvidia-driver
SUBDIR += nvidia-settings
SUBDIR += nvidia-xconfig
SUBDIR += offix-clipboard
SUBDIR += offix-execute
SUBDIR += oooqs

View File

@ -0,0 +1,26 @@
# New ports collection makefile for: nvidia-xconfig
# Date created: 10 Dec 2005
# Whom: Alexander Nedotsukov <bland@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= nvidia-xconfig
PORTVERSION= 1.0
CATEGORIES= x11
MASTER_SITES= http://download.nvidia.com/XFree86/nvidia-xconfig/ \
${MASTER_SITE_LOCAL:S/$/:local/}
MASTER_SITE_SUBDIR= bland/:local
MAINTAINER= bland@FreeBSD.org
COMMENT= Tool to manipulate X configuration files for the NVidia driver
USE_GMAKE= yes
MAKE_ENV= ROOT=${PREFIX} \
CC=${CC}
MAN1= nvidia-xconfig.1
PLIST_FILES= bin/nvidia-xconfig
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (nvidia-xconfig-1.0.tar.gz) = d69e965228645a72857053fa5f422b39
SHA256 (nvidia-xconfig-1.0.tar.gz) = 60264f00d2ac4154d94f9e40cd28f4ea12808f25a08ebf267f0d3d4893d2efa1
SIZE (nvidia-xconfig-1.0.tar.gz) = 87294

View File

@ -0,0 +1,45 @@
--- Makefile.orig Wed Nov 23 11:58:16 2005
+++ Makefile Sat Dec 10 17:21:45 2005
@@ -56,12 +56,11 @@
CFLAGS += -g -DDEBUG
else
STRIP = strip
- CFLAGS += -O
endif
# default prefix
ifdef ROOT
- prefix = $(ROOT)/usr
+ prefix = $(ROOT)
else
prefix = /usr/local
endif
@@ -80,17 +79,15 @@
else
ECHO=echo
define INSTALL_RULE
- $(INSTALL) -m 755 $< $(bindir)
- mkdir -p $(mandir)
- $(INSTALL) -m 644 $(MANPAGE) $(mandir)
- gzip -9f $(mandir)/$(MANPAGE)
+ $(BSD_INSTALL_PROGRAM) $< $(bindir)
+ $(BSD_INSTALL_MAN) $(MANPAGE) $(mandir)
endef
LLSCF=
endif
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
-mandir = $(exec_prefix)/share/man/man1
+mandir = $(MANPREFIX)/man/man1
NVIDIA_XCONFIG = nvidia-xconfig
NVIDIA_XCONFIG_VERSION = 1.0
@@ -145,7 +142,6 @@
all: $(NVIDIA_XCONFIG) $(MANPAGE)
install: $(NVIDIA_XCONFIG)
- $(STRIP) $<
$(INSTALL_RULE)
$(NVIDIA_XCONFIG): $(OBJS) $(LIB)

View File

@ -0,0 +1,4 @@
The `nvidia-xconfig` is a tool intended to provide basic control over
configuration options available in the NVIDIA X driver.
WWW: http://www.nvidia.com/object/unix.html