aboutsummaryrefslogtreecommitdiffstats
path: root/devel/shapelib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/shapelib/Makefile')
-rw-r--r--devel/shapelib/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/devel/shapelib/Makefile b/devel/shapelib/Makefile
new file mode 100644
index 000000000000..ec581e8c3858
--- /dev/null
+++ b/devel/shapelib/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: shapelib for reading ARC Shape Files
+# Date created: 23 Apr 2001
+# Whom: Randall Hopper <aa8vb@nc.rr.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= shapelib
+PORTVERSION= 1.2.8
+CATEGORIES= devel
+MASTER_SITES= ftp://gdal.velocet.ca/pub/outgoing/
+
+MAINTAINER= aa8vb@nc.rr.com
+
+BUILD_DEPENDS= libtool:${PORTSDIR}/devel/libtool
+
+ALL_TARGET= lib
+INSTALLS_SHLIB= yes
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/.libs/libshp.la ${PREFIX}/lib/
+ ${INSTALL_DATA} ${WRKSRC}/.libs/libshp.so.1 ${PREFIX}/lib/
+ ${LN} -sf libshp.so.1 ${PREFIX}/lib/libshp.so
+ ${INSTALL_DATA} ${WRKSRC}/.libs/libshp.a ${PREFIX}/lib/
+ ${INSTALL_DATA} ${WRKSRC}/shapefil.h ${PREFIX}/include
+ ${MKDIR} ${PREFIX}/share/doc/shapelib
+ ${INSTALL_DATA} ${WRKSRC}/shapelib.html ${PREFIX}/share/doc/shapelib
+ ${INSTALL_DATA} ${WRKSRC}/shp_api.html ${PREFIX}/share/doc/shapelib
+ ${INSTALL_DATA} ${WRKSRC}/dbf_api.html ${PREFIX}/share/doc/shapelib
+
+.include <bsd.port.mk>