aboutsummaryrefslogtreecommitdiff
path: root/devel/elfrc
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-07-14 17:03:00 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-07-14 17:03:00 +0000
commit8640099a715c84fd3226c8555a0271f83958045f (patch)
tree16ba2597c1f2253ed475519c6e59ceea1f6c6f4b /devel/elfrc
parentc880778a6e9a78703483cb99b571694c5703ac46 (diff)
downloadports-8640099a715c84fd3226c8555a0271f83958045f.tar.gz
ports-8640099a715c84fd3226c8555a0271f83958045f.zip
Notes
Diffstat (limited to 'devel/elfrc')
-rw-r--r--devel/elfrc/Makefile36
-rw-r--r--devel/elfrc/distinfo3
-rw-r--r--devel/elfrc/pkg-descr5
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