Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2001 13:17:30 +0800 (CST)
From:      Gea-Suan Lin <gslin@infomath.math.nctu.edu.tw>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        gslin@infomath.math.nctu.edu.tw
Subject:   ports/30093: New port: misc/yaucg
Message-ID:  <20010826051730.1EDF93D98@infomath.math.nctu.edu.tw>

next in thread | raw e-mail | index | archive | help

>Number:         30093
>Category:       ports
>Synopsis:       New port: misc/yaucg
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 25 22:20:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 4.4-RC i386
>Organization:
>Environment:
System: FreeBSD InfoMath.Math.NCTU.edu.tw 4.4-RC FreeBSD 4.4-RC #1: Thu Aug 23 14:35:48 CST 2001 root@InfoMath.Math.NCTU.edu.tw:/home/obj/usr/src/sys/InFoMath i386


	
>Description:

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
	
>How-To-Repeat:
	
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	yaucg/
#	yaucg/Makefile
#	yaucg/distinfo
#	yaucg/pkg-comment
#	yaucg/pkg-descr
#	yaucg/files
#	yaucg/files/patch-aa
#	yaucg/pkg-plist
#
echo c - yaucg/
mkdir -p yaucg/ > /dev/null 2>&1
echo x - yaucg/Makefile
sed 's/^X//' >yaucg/Makefile << 'END-of-yaucg/Makefile'
X# New ports collection makefile for:	yaucg
X# Date created:			26 August 2001
X# Whom:				Gea-Suan Lin (gslin@ccca.nctu.edu.tw)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	yaucg
XPORTVERSION=	0.11
XCATEGORIES=	misc
XMASTER_SITES=	http://home.balcab.ch/joelle.wiesmann/secuserv/
XDISTNAME=	${PORTNAME}${EXTEXTRACT_SUFX}
X
XMAINTAINER=	gslin@ccca.nctu.edu.tw
X
XRUN_DEPENDS=	wget:${PORTSDIR}/ftp/wget \
X		bash:${PORTSDIR}/shells/bash2
X
XNO_BUILD=	yes
XSTRIP=
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/grepper/userfriendly.sh ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for FILE in changelog license readme todo
X	@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-yaucg/Makefile
echo x - yaucg/distinfo
sed 's/^X//' >yaucg/distinfo << 'END-of-yaucg/distinfo'
XMD5 (yaucg.tar.gz) = 38e6772ce78426f6cdc0a2d059d47089
END-of-yaucg/distinfo
echo x - yaucg/pkg-comment
sed 's/^X//' >yaucg/pkg-comment << 'END-of-yaucg/pkg-comment'
XA bash Script which will get you the today's Userfriendly.org Picture
END-of-yaucg/pkg-comment
echo x - yaucg/pkg-descr
sed 's/^X//' >yaucg/pkg-descr << 'END-of-yaucg/pkg-descr'
XYAUCG - Yes, Another Userfriendly Grepper is a  Bash script for obtaining the
Xdaily userfriendly  comic. It has many features like getting the pictures from
Xthe last x days (for when one has  been on holidays or didn't run the script
Xon the  weekend). MySQL support is included.
X
XWWW: http://home.balcab.ch/joelle.wiesmann/secuserv/
X
X- Gea-Suan Lin
X  gslin@ccca.nctu.edu.tw
END-of-yaucg/pkg-descr
echo c - yaucg/files
mkdir -p yaucg/files > /dev/null 2>&1
echo x - yaucg/files/patch-aa
sed 's/^X//' >yaucg/files/patch-aa << 'END-of-yaucg/files/patch-aa'
X--- grepper/userfriendly.sh.orig	Sun Aug 26 13:05:42 2001
X+++ grepper/userfriendly.sh	Sun Aug 26 13:05:49 2001
X@@ -1,4 +1,4 @@
X-#!/bin/bash
X+#!/usr/local/bin/bash
X 
X # YAUCG - Yes, another userfriendly comic grepper
X # Read README first before writing me emails with your problem(s). Comments
X@@ -133,4 +133,4 @@
X  echo -e "\033[0;32mDONE!\033[m" 
X }
X 
X-main
X+main
END-of-yaucg/files/patch-aa
echo x - yaucg/pkg-plist
sed 's/^X//' >yaucg/pkg-plist << 'END-of-yaucg/pkg-plist'
Xbin/userfriendly.sh
X%%PORTDOCS%%share/doc/yaucg/changelog
X%%PORTDOCS%%share/doc/yaucg/license
X%%PORTDOCS%%share/doc/yaucg/readme
X%%PORTDOCS%%share/doc/yaucg/todo
END-of-yaucg/pkg-plist
exit

	
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010826051730.1EDF93D98>