svn commit: r330928 - head/graphics/gphoto2
Alexey Dokuchaev
danfe at FreeBSD.org
Sat Oct 19 19:32:29 UTC 2013
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
More information about the svn-ports-all
mailing list