mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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>
This commit is contained in:
parent
3294486143
commit
cc9194b4df
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=176130
6 changed files with 91 additions and 0 deletions
|
@ -610,6 +610,7 @@
|
|||
SUBDIR += torsmo
|
||||
SUBDIR += toshctl
|
||||
SUBDIR += tree
|
||||
SUBDIR += tss
|
||||
SUBDIR += ttyload
|
||||
SUBDIR += tua
|
||||
SUBDIR += tw_cli
|
||||
|
|
33
sysutils/tss/Makefile
Normal file
33
sysutils/tss/Makefile
Normal file
|
@ -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>
|
3
sysutils/tss/distinfo
Normal file
3
sysutils/tss/distinfo
Normal file
|
@ -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
|
22
sysutils/tss/files/patch-Makefile
Normal file
22
sysutils/tss/files/patch-Makefile
Normal file
|
@ -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 $@ $<
|
7
sysutils/tss/pkg-descr
Normal file
7
sysutils/tss/pkg-descr
Normal file
|
@ -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/
|
25
sysutils/tss/pkg-plist
Normal file
25
sysutils/tss/pkg-plist
Normal file
|
@ -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%%
|
Loading…
Add table
Reference in a new issue