aboutsummaryrefslogtreecommitdiff
path: root/devel/avce00/Makefile
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/Makefile
parent623bf7b0596d2b242a7dbf8558fa8deaa2a8f7b9 (diff)
downloadports-09c62f1948fda4aea7483b9dd3e87f8919a73abb.tar.gz
ports-09c62f1948fda4aea7483b9dd3e87f8919a73abb.zip
Notes
Diffstat (limited to 'devel/avce00/Makefile')
-rw-r--r--devel/avce00/Makefile50
1 files changed, 50 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>