diff options
author | alepulver <alepulver@FreeBSD.org> | 2006-11-02 06:16:01 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2006-11-02 06:16:01 +0800 |
commit | 4d5d5930b951f3630680352c421a2c00b3778725 (patch) | |
tree | 026c432f6f4ec6a042656191225d60c23b6862fe /sysutils/tss | |
parent | 22e407373d5b240b29d6886bebc4248d8e074fbf (diff) | |
download | freebsd-ports-gnome-4d5d5930b951f3630680352c421a2c00b3778725.tar.gz freebsd-ports-gnome-4d5d5930b951f3630680352c421a2c00b3778725.tar.zst freebsd-ports-gnome-4d5d5930b951f3630680352c421a2c00b3778725.zip |
Terminal ScreenSaver (or tss for short) is an attempt to clone and enhance
FreeBSD's text-mode screen saver. Although intended for GNU/Linux, it works
fine under FreeBSD and probably a lot of other Unix-based operating systems.
Unlike the daemonsaver in FreeBSD, you may choose ASCII art of your own liking
or make your own.
WWW: http://www.pulia.nu/tss/
PR: ports/104773
Submitted by: Peter Ankerstal <peter at pean.org>
Diffstat (limited to 'sysutils/tss')
-rw-r--r-- | sysutils/tss/Makefile | 33 | ||||
-rw-r--r-- | sysutils/tss/distinfo | 3 | ||||
-rw-r--r-- | sysutils/tss/files/patch-Makefile | 22 | ||||
-rw-r--r-- | sysutils/tss/pkg-descr | 7 | ||||
-rw-r--r-- | sysutils/tss/pkg-plist | 25 |
5 files changed, 90 insertions, 0 deletions
diff --git a/sysutils/tss/Makefile b/sysutils/tss/Makefile new file mode 100644 index 000000000000..a8f9e9557327 --- /dev/null +++ b/sysutils/tss/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: tss +# Date created: 25 October 2006 +# Whom: Peter Ankerstal <peter@pean.org> +# +# $FreeBSD$ +# + +PORTNAME= tss +PORTVERSION= 0.8.1 +CATEGORIES= sysutils +MASTER_SITES= http://www.pulia.nu/tss/src/ + +MAINTAINER= peter@pean.org +COMMENT= Terminal ScreenSaver that allows you to lock you terminal + +USE_GETOPT_LONG=yes +MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" + +post-patch: + @ ${REINPLACE_CMD} -e "s|/etc/tss|${PREFIX}/etc/tss|" ${WRKSRC}/src/main.c + +do-install: + ${INSTALL_SCRIPT} -m 4755 ${WRKSRC}/tss ${PREFIX}/bin + ${MKDIR} ${PREFIX}/etc/tss + ${INSTALL_DATA} ${WRKSRC}/tss_art/* ${PREFIX}/etc/tss +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for f in ART_CREDITS COPYING Changelog INSTALL README + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/sysutils/tss/distinfo b/sysutils/tss/distinfo new file mode 100644 index 000000000000..be659be05cc4 --- /dev/null +++ b/sysutils/tss/distinfo @@ -0,0 +1,3 @@ +MD5 (tss-0.8.1.tar.gz) = 8a70d8cc926c6f23b0900aecfbe74f32 +SHA256 (tss-0.8.1.tar.gz) = e6f73b06a160e3bb434f3f47b8230111609bba2f13dde3c4f5223e436fe68aaf +SIZE (tss-0.8.1.tar.gz) = 22168 diff --git a/sysutils/tss/files/patch-Makefile b/sysutils/tss/files/patch-Makefile new file mode 100644 index 000000000000..9e08a28dee2e --- /dev/null +++ b/sysutils/tss/files/patch-Makefile @@ -0,0 +1,22 @@ +--- ./Makefile.orig Fri Sep 22 04:48:22 2006 ++++ ./Makefile Wed Nov 1 19:01:16 2006 +@@ -2,14 +2,15 @@ + EXECUTABLE = tss + + SRC = src/main.c +-CFLAGS = -Wall -ansi -pedantic -lcurses -lcrypt -s #-DBSD +-COMPILE= $(CC) $(CFLAGS) +-CC = gcc ++CFLAGS += -Wall -ansi -pedantic -s -DBSD $(CPPFLAGS) ++LDFLAGS += -lcurses -lcrypt ++COMPILE = $(CC) $(CFLAGS) ++CC ?= gcc + + all: $(EXECUTABLE) + + $(EXECUTABLE): $(SRC) +- $(CC) $(CFLAGS) -o $(EXECUTABLE) $(SRC) ++ $(CC) $(CFLAGS) -o $(EXECUTABLE) $(SRC) $(LDFLAGS) + + %.o: %.c + $(COMPILE) -o $@ $< diff --git a/sysutils/tss/pkg-descr b/sysutils/tss/pkg-descr new file mode 100644 index 000000000000..7193b93dfaba --- /dev/null +++ b/sysutils/tss/pkg-descr @@ -0,0 +1,7 @@ +Terminal ScreenSaver (or tss for short) is an attempt to clone and enhance +FreeBSD's text-mode screen saver. Although intended for GNU/Linux, it works +fine under FreeBSD and probably a lot of other Unix-based operating systems. +Unlike the daemonsaver in FreeBSD, you may choose ASCII art of your own liking +or make your own. + +WWW: http://www.pulia.nu/tss/ diff --git a/sysutils/tss/pkg-plist b/sysutils/tss/pkg-plist new file mode 100644 index 000000000000..bac245f30099 --- /dev/null +++ b/sysutils/tss/pkg-plist @@ -0,0 +1,25 @@ +bin/tss +etc/tss/3dcube +etc/tss/3dcube2 +etc/tss/banana +etc/tss/barf +etc/tss/biggnu +etc/tss/bow +etc/tss/bug +etc/tss/camel +etc/tss/default +etc/tss/mario +etc/tss/minitux +etc/tss/peace +etc/tss/sperm +etc/tss/supergnu +etc/tss/tentacle +etc/tss/tux +etc/tss/worldwars +%%PORTDOCS%%%%DOCSDIR%%/ART_CREDITS +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/Changelog +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/README +@dirrm etc/tss +%%PORTDOCS%%@dirrm %%DOCSDIR%% |