diff options
author | bland <bland@FreeBSD.org> | 2005-12-10 16:48:37 +0800 |
---|---|---|
committer | bland <bland@FreeBSD.org> | 2005-12-10 16:48:37 +0800 |
commit | eb3c7f5340acb3de7d1e42e76be2dc812930e20e (patch) | |
tree | 7cca343e43af5afb5e63b8525686d31848ae91fa /x11/nvidia-xconfig | |
parent | 28cf266cda281ecdc186de66536711c1fe9bf087 (diff) | |
download | freebsd-ports-gnome-eb3c7f5340acb3de7d1e42e76be2dc812930e20e.tar.gz freebsd-ports-gnome-eb3c7f5340acb3de7d1e42e76be2dc812930e20e.tar.zst freebsd-ports-gnome-eb3c7f5340acb3de7d1e42e76be2dc812930e20e.zip |
Add nvidia-xconfig 1.0, tool to manipulate X configuration files for the
NVidia driver.
Diffstat (limited to 'x11/nvidia-xconfig')
-rw-r--r-- | x11/nvidia-xconfig/Makefile | 26 | ||||
-rw-r--r-- | x11/nvidia-xconfig/distinfo | 3 | ||||
-rw-r--r-- | x11/nvidia-xconfig/files/patch-Makefile | 45 | ||||
-rw-r--r-- | x11/nvidia-xconfig/pkg-descr | 4 |
4 files changed, 78 insertions, 0 deletions
diff --git a/x11/nvidia-xconfig/Makefile b/x11/nvidia-xconfig/Makefile new file mode 100644 index 000000000000..5baeda6d75a6 --- /dev/null +++ b/x11/nvidia-xconfig/Makefile @@ -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> diff --git a/x11/nvidia-xconfig/distinfo b/x11/nvidia-xconfig/distinfo new file mode 100644 index 000000000000..6be08c872e7f --- /dev/null +++ b/x11/nvidia-xconfig/distinfo @@ -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 diff --git a/x11/nvidia-xconfig/files/patch-Makefile b/x11/nvidia-xconfig/files/patch-Makefile new file mode 100644 index 000000000000..29fdce775392 --- /dev/null +++ b/x11/nvidia-xconfig/files/patch-Makefile @@ -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) diff --git a/x11/nvidia-xconfig/pkg-descr b/x11/nvidia-xconfig/pkg-descr new file mode 100644 index 000000000000..4720277fe7b8 --- /dev/null +++ b/x11/nvidia-xconfig/pkg-descr @@ -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 |