From owner-svn-ports-head@FreeBSD.ORG Thu Jun 19 12:57:19 2014 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 ESMTPS id A82D89BA; Thu, 19 Jun 2014 12:57:19 +0000 (UTC) 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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 94F4A2D14; Thu, 19 Jun 2014 12:57:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5JCvJ8V021095; Thu, 19 Jun 2014 12:57:19 GMT (envelope-from skreuzer@svn.freebsd.org) Received: (from skreuzer@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5JCvJrl021094; Thu, 19 Jun 2014 12:57:19 GMT (envelope-from skreuzer@svn.freebsd.org) Message-Id: <201406191257.s5JCvJrl021094@svn.freebsd.org> From: Steven Kreuzer Date: Thu, 19 Jun 2014 12:57:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358400 - head/palm/jpilot-picsnvideos 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.18 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: Thu, 19 Jun 2014 12:57:19 -0000 Author: skreuzer Date: Thu Jun 19 12:57:19 2014 New Revision: 358400 URL: http://svnweb.freebsd.org/changeset/ports/358400 QAT: https://qat.redports.org/buildarchive/r358400/ Log: Add staging support Convert to new LIB_DEPENDS framework Define LICENSE Modified: head/palm/jpilot-picsnvideos/Makefile Modified: head/palm/jpilot-picsnvideos/Makefile ============================================================================== --- head/palm/jpilot-picsnvideos/Makefile Thu Jun 19 12:56:43 2014 (r358399) +++ head/palm/jpilot-picsnvideos/Makefile Thu Jun 19 12:57:19 2014 (r358400) @@ -11,9 +11,11 @@ PKGNAMEPREFIX= jpilot- MAINTAINER= sklauder@trimind.de COMMENT= JPilot plugin to download photos and videos +LICENSE= GPLv2 + RUN_DEPENDS= jpilot:${PORTSDIR}/palm/jpilot BUILD_DEPENDS= jpilot:${PORTSDIR}/palm/jpilot -LIB_DEPENDS= gdbm.4:${PORTSDIR}/databases/gdbm +LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm GNU_CONFIGURE= yes @@ -22,16 +24,17 @@ PORTDOCS= README AUTHORS PLIST_FILES= lib/jpilot/plugins/libpicsnvideos.la \ lib/jpilot/plugins/libpicsnvideos.so -NO_STAGE= yes +.include + post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/configure post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} . for FILE in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} . endfor .endif