Date: Thu, 19 Oct 2000 19:25:54 -0400 From: Donn Miller <dmmiller@cvzoom.net> To: George Reid <geeorgy@nevernet.net> Cc: ports@freebsd.org Subject: Re: ports/22133: New port: seejpeg: An svgalib-based console image viewer Message-ID: <39EF8302.EE636044@cvzoom.net> References: <8snpo1$1dv5$1@FreeBSD.csie.NCTU.edu.tw>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------CE72D28FD610FF853DC4A8A4 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit This is funny! I had just submitted a send-pr of the seejpeg port at the same time you did (though mine was 40 minutes later). Strangely enough, send-pr mangled my report, because it thought I didn't have the category field filled in, so it never reached the ports list. Here's the version I came up with. - Donn --------------CE72D28FD610FF853DC4A8A4 Content-Type: application/x-sh; name="seejpeg_port.sh" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="seejpeg_port.sh" # 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: # # seejpeg # seejpeg/files # seejpeg/files/patch-aa # seejpeg/pkg-comment # seejpeg/pkg-plist # seejpeg/pkg-descr # seejpeg/distinfo # seejpeg/Makefile # echo c - seejpeg mkdir -p seejpeg > /dev/null 2>&1 echo c - seejpeg/files mkdir -p seejpeg/files > /dev/null 2>&1 echo x - seejpeg/files/patch-aa sed 's/^X//' >seejpeg/files/patch-aa << 'END-of-seejpeg/files/patch-aa' X--- Makefile.orig Sun Nov 7 00:55:19 1999 X+++ Makefile Thu Oct 19 10:31:56 2000 X@@ -6,19 +6,19 @@ X # $Id: Makefile,v 1.8 1999/11/07 05:55:19 evan Exp $ X X # The installation directories. X-BIN= /usr/local/bin X-MAN= /usr/local/man/man1 X+BIN= ${LOCALBASE}/bin X+MAN= ${LOCALBASE}/man/man1 X X # See the README for a description of these options. X #OPTIONS= -DNO_32K_CASCADE -DTESTMODE=G640x480x32K -DBUG_WORKAROUND -DONLY_1_8_MODES X OPTIONS= -DBUG_WORKAROUND X X # This should be the location of the JPEG v6 header files. X-JPEG_HEADERS= -I /usr/local/include X+JPEG_HEADERS= -I ${LOCALBASE}/include X #JPEG_HEADERS= -I /usr/X11R6/include X X # This should be the location of the JPEG v6 libraries. X-JPEG_LIBS= -L /usr/local/lib X+JPEG_LIBS= -L ${LOCALBASE}/lib X #JPEG_LIBS= -L /usr/X11R6/lib X X # These may be changed, if desired. X@@ -29,13 +29,13 @@ X # Editing of the rest of this Makefile shouldn't be necessary. X X CFLAGS= $(JPEG_HEADERS) -I jpeglib $(CCOPTS) $(OPTIONS) X-LIBS= -lvga $(JPEG_LIBS) -ljpeg -lm X+LIBS= -lvga $(JPEG_LIBS) -ljpeg -lgnugetopt -lm X LDOPTS= -s X X SEEJPEG= seejpeg.o jpeg.o image.o display.o cmap.o \ X jpeglib/rdbmp.o jpeglib/rdgif.o jpeglib/rdppm.o \ X jpeglib/rdtarga.o X- X+ X default: X @echo "To build seejpeg, first obtain the library for v6 of libjpeg. This ought" X @echo "to be available from the same place that you obtained seejpeg. Having" X@@ -54,7 +54,8 @@ X X install: X install -s -o root -g bin -m 4711 seejpeg $(BIN) X- install -o root -g root -m 644 seejpeg.1 $(MAN) X+ install -o root -g wheel -m 644 seejpeg.1 $(MAN) X+ gzip ${LOCALBASE}/man/man1/seejpeg.1 X X clean: X rm -f *.o jpeglib/*.o *~ core seejpeg END-of-seejpeg/files/patch-aa echo x - seejpeg/pkg-comment sed 's/^X//' >seejpeg/pkg-comment << 'END-of-seejpeg/pkg-comment' XA console graphics viewer using the svga console graphics library END-of-seejpeg/pkg-comment echo x - seejpeg/pkg-plist sed 's/^X//' >seejpeg/pkg-plist << 'END-of-seejpeg/pkg-plist' Xbin/seejpeg END-of-seejpeg/pkg-plist echo x - seejpeg/pkg-descr sed 's/^X//' >seejpeg/pkg-descr << 'END-of-seejpeg/pkg-descr' XA console graphics viewer using the svga console graphics library. X XSeejpeg is another JPEG viewer which utilizes svgalib and contains Xlimited GIF, PPM, BMP and TARGA viewing support. X XWWW:http://www.icewalk.com/softlib/app/app_00013.html X X- Donn Xdmmiller@zoominternet.net END-of-seejpeg/pkg-descr echo x - seejpeg/distinfo sed 's/^X//' >seejpeg/distinfo << 'END-of-seejpeg/distinfo' XMD5 (seejpeg-1.10.tgz) = 96a72df8ef223316eee0167c8da3fd1e END-of-seejpeg/distinfo echo x - seejpeg/Makefile sed 's/^X//' >seejpeg/Makefile << 'END-of-seejpeg/Makefile' X# New ports collection makefile for: seejpeg-1.10.tgz X# Date created: 2000 Oct 19 X# X# Whom: Donn Miller <dmmiller@cvzoom.net> X# $FreeBSD$ X# X XPORTNAME= seejpeg XPORTVERSION= 1.10 XCATEGORIES= graphics XMASTER_SITES= ${MASTER_SITE_SUNSITE} XMASTER_SITE_SUBDIR= apps/graphics/viewers/svga XEXTRACT_SUFX= .tgz X XMAINTAINER= ports@FreeBSD.org XLIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib \ X gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \ X jpeg.9:${PORTSDIR}/graphics/jpeg XALL_TARGET= seejpeg X XMAN1= seejpeg.1 XMANCOMPRESSED= yes XUSE_GMAKE= yes X Xpost-extract: X ${CHMOD} 0644 ${WRKSRC}/Makefile X Xpost-patch: X ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev X ${SED} "s/-O3/${CFLAGS}/g" ${WRKSRC}/Makefile.prev > ${WRKSRC}/Makefile X X.include <bsd.port.mk> END-of-seejpeg/Makefile exit --------------CE72D28FD610FF853DC4A8A4-- 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?39EF8302.EE636044>