From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 13 14:50:02 2007 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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3790D16A404 for ; Fri, 13 Jul 2007 14:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 0C5A413C4BE for ; Fri, 13 Jul 2007 14:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l6DEo1Pd068108 for ; Fri, 13 Jul 2007 14:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l6DEo1fm068107; Fri, 13 Jul 2007 14:50:01 GMT (envelope-from gnats) Resent-Date: Fri, 13 Jul 2007 14:50:01 GMT Resent-Message-Id: <200707131450.l6DEo1fm068107@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, Ed Schouten Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D1F3A16A4DD for ; Fri, 13 Jul 2007 14:48:16 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211]) by mx1.freebsd.org (Postfix) with ESMTP id 9FEA713C47E for ; Fri, 13 Jul 2007 14:48:16 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 958361CCE9; Fri, 13 Jul 2007 16:47:01 +0200 (CEST) Message-Id: <20070713144701.958361CCE9@palm.hoeg.nl> Date: Fri, 13 Jul 2007 16:47:01 +0200 (CEST) From: Ed Schouten To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/114555: [New port] devel/elfrc: ELF resource compiler X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ed Schouten List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2007 14:50:02 -0000 >Number: 114555 >Category: ports >Synopsis: [New port] devel/elfrc: ELF resource compiler >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: Fri Jul 13 14:50:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Ed Schouten >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD palm.hoeg.nl 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu Jul 5 19:51:49 CEST 2007 ed@palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386 >Description: elfrc is a small utility that is able to generate ELF object files from resources (files). This allows you to link regular files inside ELF binaries (images, etc). elfrc only contains a really primitive Makefile that doesn't honour LDFLAGS properly, so we're better off just using a oneliner to compile the application. It doesn't have a manpage, so we'll just install the README. >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 # distinfo # pkg-descr # echo x - Makefile sed 's/^X//' >Makefile << 'END-of-Makefile' X# New ports collection makefile for: elfrc X# Date created: 13 July 2007 X# Whom: Ed Schouten X# X# $FreeBSD$ X# X XPORTNAME= elfrc XPORTVERSION= 0.7 XCATEGORIES= devel XMASTER_SITES= http://ktown.kde.org/~frerich/ X XMAINTAINER= ed@fxq.nl XCOMMENT= Resource compiler for ELF systems X XPLIST_FILES= bin/elfrc XPORTDOCS= README X Xdo-build: X @${ECHO} '#define ELFRC_VERSION "${PORTVERSION}"' > ${WRKSRC}/config.h X ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/elfrc ${WRKSRC}/elfrc.c X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/elfrc ${PREFIX}/bin/ X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ X.endif X X.include END-of-Makefile echo x - distinfo sed 's/^X//' >distinfo << 'END-of-distinfo' XMD5 (elfrc-0.7.tar.gz) = 397c26285bd153808d651fd2877e2ed7 XSHA256 (elfrc-0.7.tar.gz) = 4d3a33aed7655040148192b8e9ca9eabb1e64e410341e31ef21a50c5064351b4 XSIZE (elfrc-0.7.tar.gz) = 8433 END-of-distinfo echo x - pkg-descr sed 's/^X//' >pkg-descr << 'END-of-pkg-descr' Xelfrc is a utility that is able to compile resources (files) to object Xfiles. It can also generate corresponding C/C++ header files to use Xthese resources from within a linked application. X XWWW: http://ktown.kde.org/~frerich/elfrc.html END-of-pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: