aboutsummaryrefslogtreecommitdiff
path: root/games/smiley
diff options
context:
space:
mode:
authorLars Koeller <lkoeller@FreeBSD.org>2001-12-15 12:29:15 +0000
committerLars Koeller <lkoeller@FreeBSD.org>2001-12-15 12:29:15 +0000
commitb367a57c84547f34b89f18cabfc2101af408239c (patch)
treeb60af7de5204cb9ec7386a82f4f3124073510364 /games/smiley
parent335e543606c1bb34b7670bce2f85667224260536 (diff)
downloadports-b367a57c84547f34b89f18cabfc2101af408239c.tar.gz
ports-b367a57c84547f34b89f18cabfc2101af408239c.zip
New port of smiley, a "smiley server" which generates or explains any
kind of known smiley.
Notes
Notes: svn path=/head/; revision=51568
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