Date: Sun, 7 Oct 2012 12:09:32 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r305463 - head/devel/shapelib Message-ID: <201210071209.q97C9WNr095038@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Oct 7 12:09:31 2012 New Revision: 305463 URL: http://svn.freebsd.org/changeset/ports/305463 Log: - Convert to new options framework - Cleanup Makefile header Modified: head/devel/shapelib/Makefile (contents, props changed) Modified: head/devel/shapelib/Makefile ============================================================================== --- head/devel/shapelib/Makefile Sun Oct 7 12:08:43 2012 (r305462) +++ head/devel/shapelib/Makefile Sun Oct 7 12:09:31 2012 (r305463) @@ -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 A 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210071209.q97C9WNr095038>