aboutsummaryrefslogtreecommitdiffstats
path: root/games/smiley
diff options
context:
space:
mode:
authorlkoeller <lkoeller@FreeBSD.org>2001-12-15 20:29:15 +0800
committerlkoeller <lkoeller@FreeBSD.org>2001-12-15 20:29:15 +0800
commitc7d7da53aab29ba57e26c07c7a74348f78e62c22 (patch)
tree854ab41c60d298ad5f45887e7e49bdfc8b227e92 /games/smiley
parent7df31d5c58471dc5395ae5c19e6243b5c313b0a0 (diff)
downloadfreebsd-ports-gnome-c7d7da53aab29ba57e26c07c7a74348f78e62c22.tar.gz
freebsd-ports-gnome-c7d7da53aab29ba57e26c07c7a74348f78e62c22.tar.zst
freebsd-ports-gnome-c7d7da53aab29ba57e26c07c7a74348f78e62c22.zip
New port of smiley, a "smiley server" which generates or explains any
kind of known smiley.
Diffstat (limited to 'games/smiley')
-rw-r--r--games/smiley/Makefile32
-rw-r--r--games/smiley/distinfo1
-rw-r--r--games/smiley/files/patch-aa23
-rw-r--r--games/smiley/pkg-comment1
-rw-r--r--games/smiley/pkg-descr8
-rw-r--r--games/smiley/pkg-plist1
6 files changed, 66 insertions, 0 deletions
diff --git a/games/smiley/Makefile b/games/smiley/Makefile
new file mode 100644
index 000000000000..d22d025e792b
--- /dev/null
+++ b/games/smiley/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: smiley
+# Date created: 15.12.2001
+# Whom: Lars Köller <Lars.Koeller@Uni-Bielefeld.DE>
+#
+# $FreeBSD$
+#
+
+PORTNAME= smiley
+PORTVERSION= 4.0
+CATEGORIES= games
+MASTER_SITES= ftp://ftp.fu-berlin.de/pub/unix/misc/smiley/
+
+MAINTAINER= Lars.Koeller@Uni-Bielefeld.de
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+MAN1= "smiley.1"
+
+post-patch:
+ ${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.input
+ ${SED} "s/%CFLAGS%/${CFLAGS}/" ${WRKSRC}/Makefile.input > ${WRKSRC}/Makefile
+ ${RM} -f ${WRKSRC}/Makefile.input
+
+do-install:
+ ${MKDIR} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/smiley/distinfo b/games/smiley/distinfo
new file mode 100644
index 000000000000..59888f440360
--- /dev/null
+++ b/games/smiley/distinfo
@@ -0,0 +1 @@
+MD5 (smiley-4.0.tar.gz) = 0f7fd4caff4b77ddcb49f7825adbe77f
diff --git a/games/smiley/files/patch-aa b/games/smiley/files/patch-aa
new file mode 100644
index 000000000000..a71e80f26ca9
--- /dev/null
+++ b/games/smiley/files/patch-aa
@@ -0,0 +1,23 @@
+*** Makefile.orig Mon Nov 29 13:03:11 1993
+--- Makefile Sat Dec 15 10:51:48 2001
+***************
+*** 32,40 ****
+ ltoa.o \
+ smiley.o
+
+! CFLAGS = -O
+
+! LDFLAGS = -s
+
+ all: $(TARGET)
+
+--- 32,40 ----
+ ltoa.o \
+ smiley.o
+
+! CFLAGS = -O -pipe
+
+! LDFLAGS =
+
+ all: $(TARGET)
+
diff --git a/games/smiley/pkg-comment b/games/smiley/pkg-comment
new file mode 100644
index 000000000000..c57acd7d6c27
--- /dev/null
+++ b/games/smiley/pkg-comment
@@ -0,0 +1 @@
+A "server" to print out a smiley with it's explanation
diff --git a/games/smiley/pkg-descr b/games/smiley/pkg-descr
new file mode 100644
index 000000000000..f71cce4c9e61
--- /dev/null
+++ b/games/smiley/pkg-descr
@@ -0,0 +1,8 @@
+smiley(1) is a "smiley server" I wrote for my own pleasure. It can
+explain any smiley it knows, or print one it knows at random. I use
+it to generate a random prompt when there is a status line available
+to hold the information I would otherwise put into my prompt. Hence
+smiley(1) does not contain the invisible smiley or any multi-line
+smileys.
+
+Author: DaviD W. Sanderson (dws@cs.wisc.edu)
diff --git a/games/smiley/pkg-plist b/games/smiley/pkg-plist
new file mode 100644
index 000000000000..5c9199bfdf09
--- /dev/null
+++ b/games/smiley/pkg-plist
@@ -0,0 +1 @@
+bin/smiley