From 8d4e6ffcb774d147f8648a9d7b38a9db56f4c2e6 Mon Sep 17 00:00:00 2001 From: Jose Alonso Cardenas Marquez Date: Mon, 16 Aug 2010 18:10:02 +0000 Subject: - New port: graphics/fpc-hermes PR: 146001 Submitted by: Christopher Key --- graphics/fpc-hermes/Makefile | 23 +++++++++++++++++++++++ graphics/fpc-hermes/files/patch-Makefile | 10 ++++++++++ graphics/fpc-hermes/pkg-plist | 14 ++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 graphics/fpc-hermes/Makefile create mode 100644 graphics/fpc-hermes/files/patch-Makefile create mode 100644 graphics/fpc-hermes/pkg-plist (limited to 'graphics/fpc-hermes') 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 +# +# $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 -- cgit v1.2.3