diff options
author | rafan <rafan@FreeBSD.org> | 2007-07-15 01:03:00 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-07-15 01:03:00 +0800 |
commit | 4d1acea0e028d5e1b9675564120a804a4e589df9 (patch) | |
tree | 9a5549fdbc0b662e5c9157c1d9e8853292b0bafe /devel/elfrc | |
parent | 389db8e797bffbd01c04007080f041f55f8e19c2 (diff) | |
download | freebsd-ports-gnome-4d1acea0e028d5e1b9675564120a804a4e589df9.tar.gz freebsd-ports-gnome-4d1acea0e028d5e1b9675564120a804a4e589df9.tar.zst freebsd-ports-gnome-4d1acea0e028d5e1b9675564120a804a4e589df9.zip |
elfrc is a utility that is able to compile resources (files) to object
files. It can also generate corresponding C/C++ header files to use
these resources from within a linked application.
WWW: http://ktown.kde.org/~frerich/elfrc.html
PR: ports/114555
Submitted by: Ed Schouten <ed at fxq.nl>
Diffstat (limited to 'devel/elfrc')
-rw-r--r-- | devel/elfrc/Makefile | 36 | ||||
-rw-r--r-- | devel/elfrc/distinfo | 3 | ||||
-rw-r--r-- | devel/elfrc/pkg-descr | 5 |
3 files changed, 44 insertions, 0 deletions
diff --git a/devel/elfrc/Makefile b/devel/elfrc/Makefile new file mode 100644 index 000000000000..e86428ea9518 --- /dev/null +++ b/devel/elfrc/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: elfrc +# Date created: 13 July 2007 +# Whom: Ed Schouten <ed@fxq.nl> +# +# $FreeBSD$ +# + +PORTNAME= elfrc +PORTVERSION= 0.7 +CATEGORIES= devel +MASTER_SITES= http://ktown.kde.org/~frerich/ + +MAINTAINER= ed@fxq.nl +COMMENT= Resource compiler for ELF systems + +PLIST_FILES= bin/elfrc +PORTDOCS= README + +do-build: + @${ECHO} '#define ELFRC_VERSION "${PORTVERSION}"' > ${WRKSRC}/config.h + ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/elfrc ${WRKSRC}/elfrc.c + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/elfrc ${PREFIX}/bin +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 600000 +IGNORE= lack of ELF definitions (STV_DEFAULT) on FreeBSD < 6.0 +.endif + +.include <bsd.port.post.mk> diff --git a/devel/elfrc/distinfo b/devel/elfrc/distinfo new file mode 100644 index 000000000000..4b9f80b0f436 --- /dev/null +++ b/devel/elfrc/distinfo @@ -0,0 +1,3 @@ +MD5 (elfrc-0.7.tar.gz) = 397c26285bd153808d651fd2877e2ed7 +SHA256 (elfrc-0.7.tar.gz) = 4d3a33aed7655040148192b8e9ca9eabb1e64e410341e31ef21a50c5064351b4 +SIZE (elfrc-0.7.tar.gz) = 8433 diff --git a/devel/elfrc/pkg-descr b/devel/elfrc/pkg-descr new file mode 100644 index 000000000000..99b7d7fe0e17 --- /dev/null +++ b/devel/elfrc/pkg-descr @@ -0,0 +1,5 @@ +elfrc is a utility that is able to compile resources (files) to object +files. It can also generate corresponding C/C++ header files to use +these resources from within a linked application. + +WWW: http://ktown.kde.org/~frerich/elfrc.html |