From owner-freebsd-ports Tue Aug 11 09:10:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA27624 for freebsd-ports-outgoing; Tue, 11 Aug 1998 09:10:14 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA27589 for ; Tue, 11 Aug 1998 09:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id JAA10677; Tue, 11 Aug 1998 09:10:00 -0700 (PDT) Received: from jade.chc-chimes.com (jade.chc-chimes.com [206.67.97.83]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA26521 for ; Tue, 11 Aug 1998 09:03:02 -0700 (PDT) (envelope-from billf@jade.chc-chimes.com) Received: (from billf@localhost) by jade.chc-chimes.com (8.8.8/8.8.8) id MAA03400; Tue, 11 Aug 1998 12:00:34 -0400 (EDT) (envelope-from billf) Message-Id: <199808111600.MAA03400@jade.chc-chimes.com> Date: Tue, 11 Aug 1998 12:00:34 -0400 (EDT) From: Bill Fumerola Reply-To: billf@jade.chc-chimes.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/7577: new port: graphics/stamp Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7577 >Category: ports >Synopsis: new port: graphics/stamp >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: Tue Aug 11 09:10:00 PDT 1998 >Last-Modified: >Originator: Bill Fumerola >Organization: Computer Horizons Corp >Release: FreeBSD 2.2.7-STABLE i386 >Environment: I'm at work. It's that kind of enviornment. >Description: I'd just like to say that the makefile that's standard with this program has to be the worlds ugliest piece of crap. No includes, no libdirs.. *sigh*. it should be fixed now as I added the above and made the Makefile obey ${PREFIX}. >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: # # . # ./Makefile # ./files # ./files/md5 # ./patches # ./patches/patch-aa # ./pkg # ./pkg/PLIST # ./pkg/COMMENT # ./pkg/DESCR # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./Makefile sed 's/^X//' >./Makefile << 'END-of-./Makefile' X# New ports collection makefile for: stamp X# Version required: 0.610 X# Date created: 11 August 1998 X# Whom: Bill Fumerola X# X# $Id$ X# X XDISTNAME= stamp XPKGNAME= stamp-0.61 XCATEGORIES= graphics XMASTER_SITES= http://www.telepath.com/booger/ X XMAINTAINER= billf@chc-chimes.com X XLIB_DEPENDS= jpeg\\.9\\.:${PORTSDIR}/graphics/jpeg X XALL_TARGET= X Xpost-patch: X X ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old X ${SED} -e 's#/usr/local#${PREFIX}#' ${WRKSRC}/Makefile.old >> ${WRKSRC}/Makefile X Xpost-install: X X strip ${PREFIX}/bin/stamp X X.include END-of-./Makefile echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/md5 sed 's/^X//' >./files/md5 << 'END-of-./files/md5' XMD5 (stamp.tar.gz) = 2e899d64d4dc9fb68ea360afde896643 END-of-./files/md5 echo c - ./patches mkdir -p ./patches > /dev/null 2>&1 echo x - ./patches/patch-aa sed 's/^X//' >./patches/patch-aa << 'END-of-./patches/patch-aa' X--- Makefile.old Tue Aug 11 10:08:53 1998 X+++ Makefile Tue Aug 11 10:11:29 1998 X@@ -4,9 +4,9 @@ X # It may work, it may not... ripped and grabbed from other places... X # X INSTALL = /usr/bin/install X-INSTALLDIR = /usr/local X+ PREFIX = /usr/local X USER = root X- GROUP = bin X+ GROUP = wheel X X # define your compiler, hope its in your path... X CC = gcc X@@ -19,19 +19,20 @@ X # laterz. X LIBS = -ljpeg X OBJS = stamp.o ftplib.o X- X+INCLS = -I${PREFIX}/include X+LDFLAGS = -L${PREFIX}/lib X X stamp : ${OBJS} X- ${CC} ${CFLAGS} -o stamp ${LIBS} ${OBJS} X+ ${CC} ${CFLAGS} -o stamp ${LDFLAGS} ${LIBS} ${OBJS} X X stamp.o : stamp.c X- ${CC} ${CFLAGS} -c stamp.c X+ ${CC} ${CFLAGS} ${INCLS} -c stamp.c X X ftplib.o : ftplib.c X- ${CC} ${CFLAGS} -c ftplib.c X+ ${CC} ${CFLAGS} ${INCLS} -c ftplib.c X X install : stamp X- ${INSTALL} -g ${GROUP} -o ${USER} -m 0755 snarf ${INSTALLDIR}/bin X+ ${INSTALL} -g ${GROUP} -o ${USER} -m 0755 stamp ${PREFIX}/bin X X clean : X rm -f *~ *.o stamp END-of-./patches/patch-aa echo c - ./pkg mkdir -p ./pkg > /dev/null 2>&1 echo x - ./pkg/PLIST sed 's/^X//' >./pkg/PLIST << 'END-of-./pkg/PLIST' Xbin/stamp END-of-./pkg/PLIST echo x - ./pkg/COMMENT sed 's/^X//' >./pkg/COMMENT << 'END-of-./pkg/COMMENT' Xadds a graphical, configurable timestamp to a grayscale image END-of-./pkg/COMMENT echo x - ./pkg/DESCR sed 's/^X//' >./pkg/DESCR << 'END-of-./pkg/DESCR' XStamp is a command-line program which will process a greyscale jpeg image, Xsuch as one produced by a greyscale Quickcam. It can add a graphical (and Xconfigurable) timestamp to the image. Stamp can also upload the timestamped Ximage via FTP, with the configuration of a stamprc file. It also features a X"quad" option which will take the latest image and composite it with up to Xthree previous images, while timestamping the latest one. X Xhttp://www.telepath.com/booger/ X XBill Fumerola END-of-./pkg/DESCR exit >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message