Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2014 12:57:19 +0000 (UTC)
From:      Steven Kreuzer <skreuzer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r358400 - head/palm/jpilot-picsnvideos
Message-ID:  <201406191257.s5JCvJrl021094@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk>
+
 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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406191257.s5JCvJrl021094>