From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 2 20:40:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7218FE09 for ; Tue, 2 Jul 2013 20:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 5865515F2 for ; Tue, 2 Jul 2013 20:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r62Ke1mk009412 for ; Tue, 2 Jul 2013 20:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r62Ke1sk009411; Tue, 2 Jul 2013 20:40:01 GMT (envelope-from gnats) Resent-Date: Tue, 2 Jul 2013 20:40:01 GMT Resent-Message-Id: <201307022040.r62Ke1sk009411@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, nemysis Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8D07ECBB for ; Tue, 2 Jul 2013 20:35:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 7F7AA15BB for ; Tue, 2 Jul 2013 20:35:33 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r62KZWfV017100 for ; Tue, 2 Jul 2013 20:35:32 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r62KZW6l017093; Tue, 2 Jul 2013 20:35:32 GMT (envelope-from nobody) Message-Id: <201307022035.r62KZW6l017093@oldred.freebsd.org> Date: Tue, 2 Jul 2013 20:35:32 GMT From: nemysis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/180216: [NEW PORT] x11-fonts/alfont: Wrapper around the freetype2 library X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jul 2013 20:40:01 -0000 >Number: 180216 >Category: ports >Synopsis: [NEW PORT] x11-fonts/alfont: Wrapper around the freetype2 library >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 02 20:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.1-RELEASE-p8 amd64 >Organization: >Environment: FreeBSD FreeBSD_Ports 9.1-RELEASE-p8 FreeBSD 9.1-RELEASE-p8 #0: Tue Jun 18 15:25:28 UTC 2013 >Description: alfont also known as AllegroFont or AlFont is a wrapper around the freetype2 library for use with the Allegro game library. Thus allowing the display of text using freetype fonts on Allegro bitmaps. WWW: http://opensnc.sourceforge.net/alfont/mirror/ WWW: http://opensnc.sourceforge.net/alfont/ Future Port games/opensurge reqires for build x11-fonts/alfont. >How-To-Repeat: Build log https://redports.org/buildarchive/20130702164801-16847/ depend (compiler_error in audio/jack) >Fix: Please add attachment as x11-fonts/alfont Shar is also on https://github.com/nemysis/FreeBSD_Ports/blob/master/pr/x11-fonts/alfont.shar Patch attached with submission follows: # 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: # # alfont # alfont/Makefile # alfont/pkg-descr # alfont/distinfo # echo c - alfont mkdir -p alfont > /dev/null 2>&1 echo x - alfont/Makefile sed 's/^X//' >alfont/Makefile << 'a34f32b0352a953e7b6b816bd2bf7cec' X# Created by: nemysis X# $FreeBSD$ X XPORTNAME= alfont XPORTVERSION= 209 XCATEGORIES= x11-fonts XMASTER_SITES= http://opensnc.sourceforge.net/alfont/mirror/ \ X http://opensnc.sourceforge.net/alfont/:opensnc XDISTFILES= AlFont${DISTVERSION}.rar \ X alfont.c:opensnc XDIST_SUBDIR= ${PORTNAME} XEXTRACT_ONLY= AlFont${DISTVERSION}.rar X XMAINTAINER= nemysis@gmx.ch XCOMMENT= Wrapper around the freetype2 library X XLICENSE= FTL XLICENSE_NAME= The FreeType Project LICENSE (FTL) XLICENSE_FILE= ${WRKSRC}/docs/FTL.txt XLICENSE_PERMS= auto-accept X XEXTRACT_DEPENDS= unrar:${PORTSDIR}/archivers/unrar XLIB_DEPENDS= alleg.4:${PORTSDIR}/devel/allegro-devel \ X freetype:${PORTSDIR}/print/freetype2 X XWRKSRC= ${WRKDIR}/${PORTNAME} X XUSES= iconv XUSE_DOS2UNIX= yes XUSE_GMAKE= yes XUSE_LDCONFIG= yes X XCPPFLAGS+= -Iinclude -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 XLDFLAGS+= -L${LOCALBASE}/lib -lalleg X XPLIST_FILES= include/alfont.h \ X include/alfontdll.h \ X lib/libalfont.so.${MAJORVER} \ X lib/libalfont.so X XPORTDOCS= * X XDOCSRCDIR1= ${WRKSRC} XDOC_FILES1= CHANGES.txt README.txt X XDOCSRCDIR2= ${WRKSRC}/docs XDOCSDIR2= ${DOCSDIR}/docs XDOC_FILES2= ALFONT.txt AUTHORS.txt X XOPTIONS_DEFINE= DOCS X X.include X XMAJORVER= ${PORTVERSION:S/209/2.0.9/} X Xdo-extract: X @${MKDIR} ${WRKDIR} X @cd ${WRKDIR} && unrar x -y -idq ${_DISTDIR}/AlFont${DISTVERSION}.rar X Xpost-patch: X @${CP} -af ${_DISTDIR}/alfont.c ${WRKSRC}/src X @${REINPLACE_CMD} -e 's|ugetxc((char\*\*)|ugetxc((const char\*\*)|' \ X ${WRKSRC}/src/alfont.c X X @${REINPLACE_CMD} \ X -e 's|#define ALFONT_WINDOWS|//#define ALFONT_WINDOWS|' \ X -e 's|//#define ALFONT_LINUX|#define ALFONT_LINUX|' \ X ${WRKSRC}/include/alfont.h X Xdo-build: X cd ${WRKSRC} ; ${CC} ${CPPFLAGS} -fPIC -DPIC $(shell freetype-config --cflags) \ X -c src/alfont.c -o src/alfont.o X X cd ${WRKSRC} ; ${CC} -shared ${LDFLAGS} -Wl,--no-as-needed,-soname,libalfont.so.${MAJORVER} \ X $(shell allegro-config --libs) $(shell freetype-config --libs) \ X src/alfont.o -o libalfont.so.${MAJORVER} X Xdo-install: X ${INSTALL_DATA} ${WRKSRC}/libalfont.so.${MAJORVER} ${PREFIX}/lib X @cd ${PREFIX}/lib ; ${LN} -sf libalfont.so.${MAJORVER} libalfont.so X ${INSTALL_DATA} ${WRKSRC}/include/alfont*.h ${PREFIX}/include X Xpost-install: X.if ${PORT_OPTIONS:MDOCS} X @${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR} X @${MKDIR} ${DOCSDIR2} X ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2} X.endif X X.include a34f32b0352a953e7b6b816bd2bf7cec echo x - alfont/pkg-descr sed 's/^X//' >alfont/pkg-descr << '1a2a36d9bfe9ec9fe181ef7e23404924' Xalfont also known as AllegroFont or AlFont is a wrapper around the freetype2 Xlibrary for use with the Allegro game library. Thus allowing the display of Xtext using freetype fonts on Allegro bitmaps. X XWWW: http://opensnc.sourceforge.net/alfont/mirror/ XWWW: http://opensnc.sourceforge.net/alfont/ 1a2a36d9bfe9ec9fe181ef7e23404924 echo x - alfont/distinfo sed 's/^X//' >alfont/distinfo << '6f613e293209a2a93e4279af6817cd7e' XSHA256 (alfont/AlFont209.rar) = 734f7f9758dfb3b80979baf010245d931c9cd2a7557683906c7fc616353f960d XSIZE (alfont/AlFont209.rar) = 3696983 XSHA256 (alfont/alfont.c) = 5142ba722bb85b760929f6d46dd20b57d094c992e8187f52d4cac38532510797 XSIZE (alfont/alfont.c) = 146998 6f613e293209a2a93e4279af6817cd7e exit >Release-Note: >Audit-Trail: >Unformatted: