aboutsummaryrefslogtreecommitdiff
path: root/devel/avce00
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-05-18 00:06:25 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-05-18 00:06:25 +0000
commit09c62f1948fda4aea7483b9dd3e87f8919a73abb (patch)
tree4e47c3a310228d2d1890dfa5523f1d94e4d1d880 /devel/avce00
parent623bf7b0596d2b242a7dbf8558fa8deaa2a8f7b9 (diff)
downloadports-09c62f1948fda4aea7483b9dd3e87f8919a73abb.tar.gz
ports-09c62f1948fda4aea7483b9dd3e87f8919a73abb.zip
Notes
Diffstat (limited to 'devel/avce00')
-rw-r--r--devel/avce00/Makefile50
-rw-r--r--devel/avce00/distinfo3
-rw-r--r--devel/avce00/pkg-descr9
3 files changed, 62 insertions, 0 deletions
diff --git a/devel/avce00/Makefile b/devel/avce00/Makefile
new file mode 100644
index 000000000000..2442accb0044
--- /dev/null
+++ b/devel/avce00/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: avce00
+# Date created: 04 May 2008
+# Whom: Wen Heping <wenheping@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= avce00
+PORTVERSION= 2.0.0
+CATEGORIES= devel
+MASTER_SITES= http://avce00.maptools.org/dl/
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= wenheping@gmail.com
+COMMENT= An OpenSource C library convert Arc/Info Vector Coverages to E00
+
+USE_GMAKE= yes
+ALL_TARGET= default
+BIN_FILES= avcimport avcexport avcdelete avctest ex_avcwrite
+
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
+PLIST_FILES= bin/avcimport bin/avcexport bin/avcdelete \
+ bin/avctest bin/ex_avcwrite include/avc.h \
+ lib/avc.a
+
+PORTDOCS= avce00.html
+
+.include <bsd.port.pre.mk>
+
+post-extract:
+ ${CP} ${WRKSRC}/GNUmakefile ${WRKSRC}/Makefile
+.if ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
+ @${REINPLACE_CMD} -e 's#LSB#MSB#g' ${WRKSRC}/Makefile
+.endif
+
+do-install:
+.for i in ${BIN_FILES}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin/
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/avc.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/avc.h ${PREFIX}/include
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/avce00.html ${DOCSDIR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/avce00/distinfo b/devel/avce00/distinfo
new file mode 100644
index 000000000000..2b3ac7abefa9
--- /dev/null
+++ b/devel/avce00/distinfo
@@ -0,0 +1,3 @@
+MD5 (avce00-2.0.0.tar.gz) = f495184dd5f3e4b89e3990f245d2598f
+SHA256 (avce00-2.0.0.tar.gz) = c0851f86b4cd414d6150a04820491024fb6248b52ca5c7bd1ca3d2a0f9946a40
+SIZE (avce00-2.0.0.tar.gz) = 152529
diff --git a/devel/avce00/pkg-descr b/devel/avce00/pkg-descr
new file mode 100644
index 000000000000..b663d03d7ad3
--- /dev/null
+++ b/devel/avce00/pkg-descr
@@ -0,0 +1,9 @@
+AVCE00 is an Open Source ANSI-C library that makes Arc/Info (binary) Vector
+Coverages appear as E00! It allows you to read and write binary coverages
+just as if they were E00 files.
+
+The C library can be easily plugged into existing E00 translators to add
+support for binary coverages simply by replacing your existing translator's
+read/write function with the functions provided by the library.
+
+WWW: http://avce00.maptools.org/avce00/