Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2013 19:32:28 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330928 - head/graphics/gphoto2
Message-ID:  <201310191932.r9JJWSnv046752@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sat Oct 19 19:32:28 2013
New Revision: 330928
URL: http://svnweb.freebsd.org/changeset/ports/330928

Log:
  Modernize LIB_DEPENDS syntax and stagify.

Modified:
  head/graphics/gphoto2/Makefile
  head/graphics/gphoto2/pkg-plist

Modified: head/graphics/gphoto2/Makefile
==============================================================================
--- head/graphics/gphoto2/Makefile	Sat Oct 19 19:30:36 2013	(r330927)
+++ head/graphics/gphoto2/Makefile	Sat Oct 19 19:32:28 2013	(r330928)
@@ -11,34 +11,27 @@ COMMENT=	Command-line frontend to libgph
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	popt:${PORTSDIR}/devel/popt \
-		gphoto2:${PORTSDIR}/graphics/libgphoto2
+LIB_DEPENDS=	libpopt.so:${PORTSDIR}/devel/popt \
+		libgphoto2.so:${PORTSDIR}/graphics/libgphoto2
 
 USES=		gmake pkgconfig
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--without-cdk
 
-MAN1=		${PORTNAME}.1
-
 OPTIONS_DEFINE=	AALIB DOCS NLS
 OPTIONS_DEFAULT=	AALIB
 OPTIONS_SUB=	yes
 
 AALIB_DESC=	Text mode capture preview support
 
-AALIB_LIB_DEPENDS=	aa:${PORTSDIR}/graphics/aalib
+AALIB_LIB_DEPENDS=	libaa.so:${PORTSDIR}/graphics/aalib
 AALIB_CONFIGURE_OFF=	--without-aalib
 
 NLS_USES=	gettext
 NLS_CONFIGURE_OFF=	--disable-nls
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
-.endif
+	${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/graphics/gphoto2/pkg-plist
==============================================================================
--- head/graphics/gphoto2/pkg-plist	Sat Oct 19 19:30:36 2013	(r330927)
+++ head/graphics/gphoto2/pkg-plist	Sat Oct 19 19:32:28 2013	(r330928)
@@ -1,4 +1,5 @@
 bin/gphoto2
+man/man1/gphoto2.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%DOCSDIR%%/test-hook.sh
 %%NLS%%share/locale/az/LC_MESSAGES/gphoto2.mo



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