aboutsummaryrefslogtreecommitdiffstats
path: root/misc/yaucg
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-08-29 20:04:18 +0800
committerijliao <ijliao@FreeBSD.org>2001-08-29 20:04:18 +0800
commitbc395061dc94e894fe58d65fd95f28b6ab8ba2e6 (patch)
tree0db6a6ac7c522bff4b989759f98a84144ef777bc /misc/yaucg
parent3278be211175ac1409913f1f71cf5e5fd7dccf9b (diff)
downloadfreebsd-ports-graphics-bc395061dc94e894fe58d65fd95f28b6ab8ba2e6.tar.gz
freebsd-ports-graphics-bc395061dc94e894fe58d65fd95f28b6ab8ba2e6.tar.zst
freebsd-ports-graphics-bc395061dc94e894fe58d65fd95f28b6ab8ba2e6.zip
add yaucg
A bash Script which will get you the today's Userfriendly.org Picture PR: 30093 Submitted by: Gea-Suan Lin <gslin@infomath.math.nctu.edu.tw>
Diffstat (limited to 'misc/yaucg')
-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
6 files changed, 62 insertions, 0 deletions
diff --git a/misc/yaucg/Makefile b/misc/yaucg/Makefile
new file mode 100644
index 00000000000..f23b1dfdd8f
--- /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 00000000000..3d9d111ec7e
--- /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 00000000000..ed6192cc66f
--- /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 00000000000..f1880e99211
--- /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 00000000000..9d5a46d2cd4
--- /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 00000000000..a01152dff43
--- /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