Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 1998 12:00:34 -0400 (EDT)
From:      Bill Fumerola <billf@jade.chc-chimes.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7577: new port: graphics/stamp
Message-ID:  <199808111600.MAA03400@jade.chc-chimes.com>

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

>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 <billf@chc-chimes.com>
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 <bsd.port.mk>
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 <billf@chc-chimes.com>
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



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