From owner-svn-ports-head@FreeBSD.ORG Sun Oct 20 18:07:20 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B292B73E; Sun, 20 Oct 2013 18:07:20 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 864BF26FC; Sun, 20 Oct 2013 18:07:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9KI7KG1075272; Sun, 20 Oct 2013 18:07:20 GMT (envelope-from jhale@svn.freebsd.org) Received: (from jhale@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9KI7Kf2075271; Sun, 20 Oct 2013 18:07:20 GMT (envelope-from jhale@svn.freebsd.org) Message-Id: <201310201807.r9KI7Kf2075271@svn.freebsd.org> From: "Jason E. Hale" Date: Sun, 20 Oct 2013 18:07:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331043 - head/devel/libchipcard X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Oct 2013 18:07:20 -0000 Author: jhale Date: Sun Oct 20 18:07:19 2013 New Revision: 331043 URL: http://svnweb.freebsd.org/changeset/ports/331043 Log: - Support staging - Use new LIB_DEPENDS syntax - Use options helpers Modified: head/devel/libchipcard/Makefile Modified: head/devel/libchipcard/Makefile ============================================================================== --- head/devel/libchipcard/Makefile Sun Oct 20 18:07:15 2013 (r331042) +++ head/devel/libchipcard/Makefile Sun Oct 20 18:07:19 2013 (r331043) @@ -12,17 +12,13 @@ COMMENT= Library for easy access to chip LICENSE= LGPL21 -LIB_DEPENDS= pcsclite:${PORTSDIR}/devel/pcsc-lite \ - gwenhywfar:${PORTSDIR}/devel/gwenhywfar +LIB_DEPENDS= libpcsclite.so:${PORTSDIR}/devel/pcsc-lite \ + libgwenhywfar.so:${PORTSDIR}/devel/gwenhywfar +USES= gmake USE_AUTOTOOLS= libtool -USE_GMAKE= yes USE_OPENSSL= yes -OPTIONS_DEFINE= DOXYGEN MEMDEBUG - -MEMDEBUG_DESC= Enable memory debugger statistic - GNU_CONFIGURE= yes CONFIGURE_ENV+= aq_distrib_name="FreeBSD" CONFIGURE_ARGS+=--enable-release="yes" \ @@ -36,18 +32,16 @@ USE_LDCONFIG= yes GWEN_SHLIB_VER= 60 -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOXYGEN MEMDEBUG -.if ${PORT_OPTIONS:MDOXYGEN} -BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \ - dot:${PORTSDIR}/graphics/graphviz -CONFIGURE_ARGS+=--enable-full-doc -.endif +DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen \ + dot:${PORTSDIR}/graphics/graphviz +DOXYGEN_CONFIGURE_ENABLE= full-doc -.if ${PORT_OPTIONS:MMEMDEBUG} -CONFIGURE_ARGS+=--enable-memtrace -.endif +MEMDEBUG_DESC= Enable memory debugger statistic +MEMDEBUG_CONFIGURE_ENABLE= memtrace + +.include post-patch: ${REINPLACE_CMD} -e 's|aq_endian\" ==|aq_endian\" =|g' \ @@ -62,13 +56,13 @@ post-build: post-install: .if ${PORT_OPTIONS:MDOXYGEN} - ${MKDIR} ${DOCSDIR}/apidoc + ${MKDIR} ${STAGEDIR}${DOCSDIR}/apidoc cd ${WRKSRC}/apidoc && \ - ${COPYTREE_SHARE} \* ${DOCSDIR}/apidoc - @${FIND} -P ${DOCSDIR} -type f 2>/dev/null | \ - ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST} - @${FIND} -P -d ${DOCSDIR} -type d 2>/dev/null | \ - ${SED} -ne 's,^${PREFIX}/,@dirrm ,p' >> ${TMPPLIST} + ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}/apidoc + @${FIND} -P ${STAGEDIR}${DOCSDIR} -type f 2>/dev/null | \ + ${SED} -ne 's|^${STAGEDIR}${PREFIX}/||p' >> ${TMPPLIST} + @${FIND} -P -d ${STAGEDIR}${DOCSDIR} -type d 2>/dev/null | \ + ${SED} -ne 's|^${STAGEDIR}${PREFIX}/|@dirrm |p' >> ${TMPPLIST} .endif .include