aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-10-20 03:32:28 +0800
committerdanfe <danfe@FreeBSD.org>2013-10-20 03:32:28 +0800
commite976fb54d65cf9b9aa376b9d4daba5fd83b42fd4 (patch)
treea53388a39b399b14dc27513ec24745ce6bf4a314 /graphics
parent1416d51288498ae71ec6d824a5d50a266db59194 (diff)
downloadfreebsd-ports-gnome-e976fb54d65cf9b9aa376b9d4daba5fd83b42fd4.tar.gz
freebsd-ports-gnome-e976fb54d65cf9b9aa376b9d4daba5fd83b42fd4.tar.zst
freebsd-ports-gnome-e976fb54d65cf9b9aa376b9d4daba5fd83b42fd4.zip
Modernize LIB_DEPENDS syntax and stagify.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gphoto2/Makefile15
-rw-r--r--graphics/gphoto2/pkg-plist1
2 files changed, 5 insertions, 11 deletions
diff --git a/graphics/gphoto2/Makefile b/graphics/gphoto2/Makefile
index e3d898973353..dd603063058c 100644
--- a/graphics/gphoto2/Makefile
+++ b/graphics/gphoto2/Makefile
@@ -11,34 +11,27 @@ COMMENT= Command-line frontend to libgphoto2
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>
diff --git a/graphics/gphoto2/pkg-plist b/graphics/gphoto2/pkg-plist
index 056f1c099806..a7f2b717fe8d 100644
--- a/graphics/gphoto2/pkg-plist
+++ b/graphics/gphoto2/pkg-plist
@@ -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