From owner-freebsd-ports Sat Aug 25 22:20:12 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D400737B407 for ; Sat, 25 Aug 2001 22:20:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7Q5K0H14749; Sat, 25 Aug 2001 22:20:00 -0700 (PDT) (envelope-from gnats) Received: from Mgw2-out.NCTU.edu.tw (Mgw2-out.NCTU.edu.tw [140.113.6.234]) by hub.freebsd.org (Postfix) with ESMTP id EEABC37B407 for ; Sat, 25 Aug 2001 22:17:55 -0700 (PDT) (envelope-from gslin@infomath.math.nctu.edu.tw) Received: from infomath.math.nctu.edu.tw (infomath.math.nctu.edu.tw [140.113.22.119]) by Mgw2-out.NCTU.edu.tw (8.11.4/8.11.4) with ESMTP id f7Q5HkT53640 for ; Sun, 26 Aug 2001 13:17:47 +0800 (CST) Received: by infomath.math.nctu.edu.tw (Postfix, from userid 1000) id 1EDF93D98; Sun, 26 Aug 2001 13:17:30 +0800 (CST) Message-Id: <20010826051730.1EDF93D98@infomath.math.nctu.edu.tw> Date: Sun, 26 Aug 2001 13:17:30 +0800 (CST) From: Gea-Suan Lin Reply-To: Gea-Suan Lin To: FreeBSD-gnats-submit@freebsd.org Cc: gslin@infomath.math.nctu.edu.tw X-Send-Pr-Version: 3.113 Subject: ports/30093: New port: misc/yaucg Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 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