aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc/Makefile1
-rw-r--r--misc/yaucg/Makefile31
-rw-r--r--misc/yaucg/distinfo1
-rw-r--r--misc/yaucg/files/patch-aa14
-rw-r--r--misc/yaucg/pkg-comment1
-rw-r--r--misc/yaucg/pkg-descr9
-rw-r--r--misc/yaucg/pkg-plist6
7 files changed, 63 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 428b39fd51d4..f9f074b9d275 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -210,6 +210,7 @@
SUBDIR += xquote
SUBDIR += xtail
SUBDIR += xtar
+ SUBDIR += yaucg
SUBDIR += yaunc
SUBDIR += ytree
diff --git a/misc/yaucg/Makefile b/misc/yaucg/Makefile
new file mode 100644
index 000000000000..f23b1dfdd8fe
--- /dev/null
+++ b/misc/yaucg/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: yaucg
+# Date created: 26 August 2001
+# Whom: Gea-Suan Lin (gslin@ccca.nctu.edu.tw)
+#
+# $FreeBSD$
+#
+
+PORTNAME= yaucg
+PORTVERSION= 0.11
+CATEGORIES= misc
+MASTER_SITES= http://home.balcab.ch/joelle.wiesmann/secuserv/
+DISTNAME= ${PORTNAME}
+
+MAINTAINER= gslin@ccca.nctu.edu.tw
+
+RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget \
+ bash:${PORTSDIR}/shells/bash2
+
+NO_BUILD= yes
+STRIP= # empty
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/grepper/userfriendly.sh ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for FILE in changelog license readme todo
+ @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/misc/yaucg/distinfo b/misc/yaucg/distinfo
new file mode 100644
index 000000000000..3d9d111ec7e9
--- /dev/null
+++ b/misc/yaucg/distinfo
@@ -0,0 +1 @@
+MD5 (yaucg.tar.gz) = 4b3b6cfa131f25d937cca19f69b1c6e6
diff --git a/misc/yaucg/files/patch-aa b/misc/yaucg/files/patch-aa
new file mode 100644
index 000000000000..ed6192cc66ff
--- /dev/null
+++ b/misc/yaucg/files/patch-aa
@@ -0,0 +1,14 @@
+--- grepper/userfriendly.sh.orig Sun Aug 26 13:05:42 2001
++++ grepper/userfriendly.sh Sun Aug 26 13:05:49 2001
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/local/bin/bash
+
+ # YAUCG - Yes, another userfriendly comic grepper
+ # Read README first before writing me emails with your problem(s). Comments
+@@ -133,4 +133,4 @@
+ echo -e "\033[0;32mDONE!\033[m"
+ }
+
+-main
++main
diff --git a/misc/yaucg/pkg-comment b/misc/yaucg/pkg-comment
new file mode 100644
index 000000000000..f1880e99211d
--- /dev/null
+++ b/misc/yaucg/pkg-comment
@@ -0,0 +1 @@
+A bash Script which will get you the today's Userfriendly.org Picture
diff --git a/misc/yaucg/pkg-descr b/misc/yaucg/pkg-descr
new file mode 100644
index 000000000000..9d5a46d2cd41
--- /dev/null
+++ b/misc/yaucg/pkg-descr
@@ -0,0 +1,9 @@
+YAUCG - Yes, Another Userfriendly Grepper is a Bash script for obtaining the
+daily userfriendly comic. It has many features like getting the pictures from
+the last x days (for when one has been on holidays or didn't run the script
+on the weekend). MySQL support is included.
+
+WWW: http://home.balcab.ch/joelle.wiesmann/secuserv/
+
+- Gea-Suan Lin
+ gslin@ccca.nctu.edu.tw
diff --git a/misc/yaucg/pkg-plist b/misc/yaucg/pkg-plist
new file mode 100644
index 000000000000..a01152dff433
--- /dev/null
+++ b/misc/yaucg/pkg-plist
@@ -0,0 +1,6 @@
+bin/userfriendly.sh
+%%PORTDOCS%%share/doc/yaucg/changelog
+%%PORTDOCS%%share/doc/yaucg/license
+%%PORTDOCS%%share/doc/yaucg/readme
+%%PORTDOCS%%share/doc/yaucg/todo
+%%PORTDOCS%%@dirrm share/doc/yaucg