diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-11-01 22:16:01 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-11-01 22:16:01 +0000 |
commit | cc9194b4dfb42a04be14d8b0050f1e5778742db5 (patch) | |
tree | cbb11c7d6858fb70ecd9d83540124ed06f4e4530 /sysutils | |
parent | 3294486143e4f7d3f911e057605ab3bd2c1b6140 (diff) | |
download | ports-cc9194b4dfb42a04be14d8b0050f1e5778742db5.tar.gz ports-cc9194b4dfb42a04be14d8b0050f1e5778742db5.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>
Notes
Notes:
svn path=/head/; revision=176130
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-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 |
6 files changed, 91 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index f617ed38c528..b8895bd8390a 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -610,6 +610,7 @@ SUBDIR += torsmo SUBDIR += toshctl SUBDIR += tree + SUBDIR += tss SUBDIR += ttyload SUBDIR += tua SUBDIR += tw_cli 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%% |