aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2005-02-21 20:21:40 +0800
committerdanfe <danfe@FreeBSD.org>2005-02-21 20:21:40 +0800
commit52733e6a92f09d8fe3f9fc341b458c22e6b9ca24 (patch)
treef1fe3b29f710ad612567858d441f2f890ade3f43 /x11
parentd76958f33b3173f60eee6f2e325a20a176f1fdc1 (diff)
downloadfreebsd-ports-gnome-52733e6a92f09d8fe3f9fc341b458c22e6b9ca24.tar.gz
freebsd-ports-gnome-52733e6a92f09d8fe3f9fc341b458c22e6b9ca24.tar.zst
freebsd-ports-gnome-52733e6a92f09d8fe3f9fc341b458c22e6b9ca24.zip
Add videogen 0.21, small utility for generating modelines for XFree86 servers.
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/videogen/Makefile35
-rw-r--r--x11/videogen/distinfo2
-rw-r--r--x11/videogen/pkg-descr6
4 files changed, 44 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index c5dd82151a74..d43f1dcf6e61 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -174,6 +174,7 @@
SUBDIR += tycoon
SUBDIR += user-selector-applet
SUBDIR += vdesk
+ SUBDIR += videogen
SUBDIR += wdm
SUBDIR += wmappl
SUBDIR += wmblob
diff --git a/x11/videogen/Makefile b/x11/videogen/Makefile
new file mode 100644
index 000000000000..c1b3f19f12b8
--- /dev/null
+++ b/x11/videogen/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: videogen
+# Date created: 21 Feb 2005
+# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= videogen
+PORTVERSION= 0.21
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= X11/xutils
+
+MAINTAINER= danfe@FreeBSD.org
+COMMENT= Generate modelines for XFree86 servers
+
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+
+MAN1= ${PORTNAME}.1
+
+PLIST_FILES= bin/${PORTNAME} share/${PORTNAME}/some_modes.sh
+PLIST_DIRS= share/${PORTNAME}
+
+post-extract:
+ @${REINPLACE_CMD} -e '/^CFLAGS/d; s/gcc/$${CC}/' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' ${WRKSRC}/some_modes.sh
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/some_modes.sh ${DATADIR}
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1}x ${MANPREFIX}/man/man1/${MAN1}
+
+.include <bsd.port.mk>
diff --git a/x11/videogen/distinfo b/x11/videogen/distinfo
new file mode 100644
index 000000000000..76d5ece97d42
--- /dev/null
+++ b/x11/videogen/distinfo
@@ -0,0 +1,2 @@
+MD5 (videogen-0.21.tar.gz) = 18892b654a462ca6d3c1c19ab3daf21a
+SIZE (videogen-0.21.tar.gz) = 6777
diff --git a/x11/videogen/pkg-descr b/x11/videogen/pkg-descr
new file mode 100644
index 000000000000..93d0f5ff7073
--- /dev/null
+++ b/x11/videogen/pkg-descr
@@ -0,0 +1,6 @@
+Videogen is a small and handy utility that generates XFree86 and/or fbset
+(Linux framebuffer device) "Modelines" which tell your video card what
+signals to send to your monitor. Videogen is designed to provide the best
+refresh rate your hardware supports, but if you do not want to drive your
+monitor to the edge, just use lower specs than the actual capabilities of
+your hardware.