diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-10-07 12:09:31 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-10-07 12:09:31 +0000 |
commit | 39291838d023a89dabaa2ca783f523817b23fdd6 (patch) | |
tree | d07c033c24da9c58920b52a97a29bbbc2d06c760 /devel | |
parent | 41b552a719c07016a6cd892843bb4ef9c5ea3ddd (diff) |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/shapelib/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/devel/shapelib/Makefile b/devel/shapelib/Makefile index 3c75c9f53cc2..47e92d594020 100644 --- a/devel/shapelib/Makefile +++ b/devel/shapelib/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: shapelib for reading ARC Shape Files -# Date created: 23 Apr 2001 -# Whom: Randall Hopper <aa8vb@nc.rr.com> -# +# Created by: Randall Hopper <aa8vb@nc.rr.com> # $FreeBSD$ -# PORTNAME= shapelib PORTVERSION= 1.3.0 @@ -19,18 +15,17 @@ COMMENT= C API for reading and writing ArcView Shapefiles MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes -OPTIONS= DEBUG "Debugging" off \ - PROJ "Cartographic Projections library" off +OPTIONS_DEFINE= DEBUG DOCS PROJ .include <bsd.port.options.mk> -.if defined(WITH_DEBUG) +.if ${PORT_OPTIONS:MDEBUG} DEBUG= -DDEBUG -DDEBUG2 -g .else DEBUG= # empty .endif -.if defined(WITH_PROJ) +.if ${PORT_OPTIONS:MPROJ} LIB_DEPENDS+= proj:${PORTSDIR}/graphics/proj PLIST_SUB+= PROJ="" PROJ= -DPROJ4 @@ -58,7 +53,7 @@ post-patch: post-install: ${LN} -s libshp.so.1 ${PREFIX}/lib/libshp.so -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/web/*.html ${DOCSDIR}/ .endif |