aboutsummaryrefslogtreecommitdiff
path: root/graphics/fpc-hermes
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2010-08-16 18:10:02 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2010-08-16 18:10:02 +0000
commit8d4e6ffcb774d147f8648a9d7b38a9db56f4c2e6 (patch)
tree4fac7f5252abdac8702967c5211c142ee52c40f4 /graphics/fpc-hermes
parent3d9e73f58324882d1e783005e70cd7c5de2908e4 (diff)
downloadports-8d4e6ffcb774d147f8648a9d7b38a9db56f4c2e6.tar.gz
ports-8d4e6ffcb774d147f8648a9d7b38a9db56f4c2e6.zip
- New port: graphics/fpc-hermes
PR: 146001 Submitted by: Christopher Key <cjk32 __ at __ cam.ac.uk>
Notes
Notes: svn path=/head/; revision=259371
Diffstat (limited to 'graphics/fpc-hermes')
-rw-r--r--graphics/fpc-hermes/Makefile23
-rw-r--r--graphics/fpc-hermes/files/patch-Makefile10
-rw-r--r--graphics/fpc-hermes/pkg-plist14
3 files changed, 47 insertions, 0 deletions
diff --git a/graphics/fpc-hermes/Makefile b/graphics/fpc-hermes/Makefile
new file mode 100644
index 000000000000..be9c0ed5d1ef
--- /dev/null
+++ b/graphics/fpc-hermes/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: fpc-hermes
+# Date created: 2010-04-22
+# Whom: Christopher Key <cjk32@cam.ac.uk>
+#
+# $FreeBSD$
+#
+
+PORTREVISION= 0
+CATEGORIES= graphics lang
+PKGNAMESUFFIX= -hermes
+
+MAINTAINER= acm@FreeBSD.org
+COMMENT= Free Pascal hermes unit
+
+USE_FPC= yes
+
+MASTERDIR= ${.CURDIR}/../../lang/fpc
+WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
+EXTRACTUNITDIR+= ${WRKUNITDIR}
+
+OPTIONS= HERMES "Install hermes graphics library" on
+
+.include "${MASTERDIR}/Makefile"
diff --git a/graphics/fpc-hermes/files/patch-Makefile b/graphics/fpc-hermes/files/patch-Makefile
new file mode 100644
index 000000000000..040a8e4a79fc
--- /dev/null
+++ b/graphics/fpc-hermes/files/patch-Makefile
@@ -0,0 +1,10 @@
+--- packages/hermes/Makefile 2009-12-12 15:51:44.000000000 +0000
++++ packages/hermes/Makefile 2010-04-22 21:52:27.000000000 +0100
+@@ -623,6 +623,7 @@
+ ifeq ($(FULL_TARGET),armeb-embedded)
+ override TARGET_LOADERS+=$(CPU_LOADERS)
+ endif
++override INSTALL_FPCPACKAGE=y
+ ifeq ($(FULL_TARGET),i386-linux)
+ override COMPILER_INCLUDEDIR+=src
+ endif
diff --git a/graphics/fpc-hermes/pkg-plist b/graphics/fpc-hermes/pkg-plist
new file mode 100644
index 000000000000..9bfebb7b118d
--- /dev/null
+++ b/graphics/fpc-hermes/pkg-plist
@@ -0,0 +1,14 @@
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/hermes/Package.fpc
+%%FPC_I386%%lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/hermes/mmx_clr.o
+%%FPC_I386%%lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/hermes/mmxp_32.o
+%%FPC_I386%%lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/hermes/mmx_main.o
+%%FPC_I386%%lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/hermes/mmxp2_32.o
+%%FPC_I386%%lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/hermes/hm_i386.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/hermes/hermes.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/hermes/hermes.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/hermes/libphermes.a
+@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/hermes
+@dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%
+@dirrmtry lib/fpc/%%PORTVERSION%%/units
+@dirrmtry lib/fpc/%%PORTVERSION%%
+@dirrmtry lib/fpc