svn commit: r358400 - head/palm/jpilot-picsnvideos
Steven Kreuzer
skreuzer at FreeBSD.org
Thu Jun 19 12:57:19 UTC 2014
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 at 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
More information about the svn-ports-all
mailing list