aboutsummaryrefslogtreecommitdiffstats
path: root/math/fpc-gmp
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2010-08-17 02:07:49 +0800
committeracm <acm@FreeBSD.org>2010-08-17 02:07:49 +0800
commit70bb0b6240f254767d46a15fd9a484babe5cc1e0 (patch)
treec3fd5b77a4e67c6f7a81a8a7e9001773c5b7bae0 /math/fpc-gmp
parent4f8f9788ae0815edb2166ba4a322f8afd0d49a91 (diff)
downloadfreebsd-ports-gnome-70bb0b6240f254767d46a15fd9a484babe5cc1e0.tar.gz
freebsd-ports-gnome-70bb0b6240f254767d46a15fd9a484babe5cc1e0.tar.zst
freebsd-ports-gnome-70bb0b6240f254767d46a15fd9a484babe5cc1e0.zip
- New port: math/fpc-gmp
Free Pascal interface to gmp library PR: 146001 Submitted by: Christopher Key <cjk32 at cam.ac.uk>
Diffstat (limited to 'math/fpc-gmp')
-rw-r--r--math/fpc-gmp/Makefile23
-rw-r--r--math/fpc-gmp/pkg-plist9
2 files changed, 32 insertions, 0 deletions
diff --git a/math/fpc-gmp/Makefile b/math/fpc-gmp/Makefile
new file mode 100644
index 000000000000..93000b52547b
--- /dev/null
+++ b/math/fpc-gmp/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: fpc-gmp
+# Date created: 2010-04-22
+# Whom: Christopher Key <cjk32@cam.ac.uk>
+#
+# $FreeBSD$
+#
+
+PORTREVISION= 0
+CATEGORIES= math lang
+PKGNAMESUFFIX= -gmp
+
+MAINTAINER= acm@FreeBSD.org
+COMMENT= Free Pascal interface to gmp library
+
+USE_FPC= yes
+
+MASTERDIR= ${.CURDIR}/../../lang/fpc
+WRKUNITDIR= ${FPCSRCDIR}/packages/${PKGNAMESUFFIX:S/-//}
+EXTRACTUNITDIR+= ${WRKUNITDIR}
+
+OPTIONS= GMP "Install gmp library" on
+
+.include "${MASTERDIR}/Makefile"
diff --git a/math/fpc-gmp/pkg-plist b/math/fpc-gmp/pkg-plist
new file mode 100644
index 000000000000..9290f1f525be
--- /dev/null
+++ b/math/fpc-gmp/pkg-plist
@@ -0,0 +1,9 @@
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gmp/Package.fpc
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gmp/gmp.o
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gmp/gmp.ppu
+lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gmp/libpgmp.a
+@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/gmp
+@dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%
+@dirrmtry lib/fpc/%%PORTVERSION%%/units
+@dirrmtry lib/fpc/%%PORTVERSION%%
+@dirrmtry lib/fpc