From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Sep 12 18:50:08 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4C7716A420 for ; Mon, 12 Sep 2005 18:50:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CB4743D5C for ; Mon, 12 Sep 2005 18:50:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8CIo65s087750 for ; Mon, 12 Sep 2005 18:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8CIo5gP087749; Mon, 12 Sep 2005 18:50:05 GMT (envelope-from gnats) Resent-Date: Mon, 12 Sep 2005 18:50:05 GMT Resent-Message-Id: <200509121850.j8CIo5gP087749@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Emanuel Haupt Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC55916A41F for ; Mon, 12 Sep 2005 18:49:14 +0000 (GMT) (envelope-from ehaupt@beaver.critical.ch) Received: from beaver.critical.ch (217-162-251-247.dclient.hispeed.ch [217.162.251.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A8C543D4C for ; Mon, 12 Sep 2005 18:49:13 +0000 (GMT) (envelope-from ehaupt@beaver.critical.ch) Received: from beaver.critical.ch (localhost.critical.ch [127.0.0.1]) by beaver.critical.ch (8.13.3/8.13.3) with ESMTP id j8CInC5C014976 for ; Mon, 12 Sep 2005 20:49:12 +0200 (CEST) (envelope-from ehaupt@beaver.critical.ch) Received: (from ehaupt@localhost) by beaver.critical.ch (8.13.3/8.13.3/Submit) id j8CInBW6014975; Mon, 12 Sep 2005 20:49:11 +0200 (CEST) (envelope-from ehaupt) Message-Id: <200509121849.j8CInBW6014975@beaver.critical.ch> Date: Mon, 12 Sep 2005 20:49:11 +0200 (CEST) From: Emanuel Haupt To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/86017: new port: textproc/uni2ascii - Convert between UTF-8 Unicode and 7-bit ASCII equivalents X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Emanuel Haupt List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 18:50:08 -0000 >Number: 86017 >Category: ports >Synopsis: new port: textproc/uni2ascii - Convert between UTF-8 Unicode and 7-bit ASCII equivalents >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Sep 12 18:50:05 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Emanuel Haupt >Release: FreeBSD 5.4-RELEASE-p6 i386 >Organization: >Environment: System: FreeBSD beaver.critical.ch 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #0: Wed Jul 27 20:19:15 CEST 2005 root@beaver.critical.ch:/usr/obj/usr/src/RELENG_5_4/src/sys/BEAVER i386 >Description: new port: textproc/uni2ascii - Convert between UTF-8 Unicode and 7-bit ASCII equivalents uni2ascii and ascii2uni convert between UTF-8 Unicode and any of a variety of 7-bit ASCII equivalents including: hexadecimal and decimal HTML numeric character references, \u-escapes, standard hexadecimal, and raw hexadecimal. >How-To-Repeat: >Fix: --- uni2ascii.shar begins here --- # 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: # # uni2ascii # uni2ascii/Makefile # uni2ascii/pkg-descr # uni2ascii/distinfo # echo c - uni2ascii mkdir -p uni2ascii > /dev/null 2>&1 echo x - uni2ascii/Makefile sed 's/^X//' >uni2ascii/Makefile << 'END-of-uni2ascii/Makefile' X# New ports collection makefile for: uni2ascii X# Date created: 12 Sep 2005 X# Whom: Emanuel Haupt X# X# $FreeBSD$ X# X XPORTNAME= uni2ascii XPORTVERSION= 2.1 XCATEGORIES= textproc XMASTER_SITES= http://critical.ch/distfiles/ X XMAINTAINER= ehaupt@critical.ch XCOMMENT= Convert between UTF-8 Unicode and 7-bit ASCII equivalents X XUSE_GETTEXT= yes X XCFLAGS+= -I${LOCALBASE}/include XLDFLAGS+= -L${LOCALBASE}/lib -lintl XDEFINES= -DPACKAGE=\"${PORTNAME}\" -DLOCALEDIR=\"${LOCALBASE}/share/locale\" -DINTLIZE X XSRC1= uni2ascii Get_UTF32_From_UTF8 XSRC2= ascii2uni GetWord putu8 X XPLIST_FILES= bin/uni2ascii bin/ascii2uni XMAN1= uni2ascii.1 ascii2uni.1 X Xdo-build: X.for f in ${SRC1} X ${CC} ${CFLAGS} ${DEFINES} -c ${WRKSRC}/${f}.c -o ${WRKSRC}/${f}.o X.endfor X ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/${PORTNAME} \ X ${SRC1:C/(.*)/${WRKSRC}\/\1.o/} X.for f in ${SRC2} X ${CC} ${CFLAGS} ${DEFINES} -o ${WRKSRC}/${f}.o -c ${WRKSRC}/${f}.c X.endfor X ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/ascii2uni \ X ${SRC2:C/(.*)/${WRKSRC}\/\1.o/} X Xdo-install: X.for f in ${PORTNAME} ascii2uni X ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin X ${INSTALL_MAN} ${WRKSRC}/${f}.1 ${MANPREFIX}/man/man1 X.endfor X X.include END-of-uni2ascii/Makefile echo x - uni2ascii/pkg-descr sed 's/^X//' >uni2ascii/pkg-descr << 'END-of-uni2ascii/pkg-descr' Xuni2ascii and ascii2uni convert between UTF-8 Unicode and any of a variety of X7-bit ASCII equivalents including: hexadecimal and decimal HTML numeric Xcharacter references, \u-escapes, standard hexadecimal, and raw hexadecimal. X XWWW: http://freshmeat.net/projects/uni2ascii/ X X- ehaupt Xehaupt@critical.ch END-of-uni2ascii/pkg-descr echo x - uni2ascii/distinfo sed 's/^X//' >uni2ascii/distinfo << 'END-of-uni2ascii/distinfo' XMD5 (uni2ascii-2.1.tar.gz) = 82d9340942b0fcaff527005428060e02 XSIZE (uni2ascii-2.1.tar.gz) = 17487 END-of-uni2ascii/distinfo exit --- uni2ascii.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: