Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2014 13:34:04 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350700 - head/graphics/djview4
Message-ID:  <201404091334.s39DY4Q4049379@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Apr  9 13:34:04 2014
New Revision: 350700
URL: http://svnweb.freebsd.org/changeset/ports/350700
QAT: https://qat.redports.org/buildarchive/r350700/

Log:
  Support stage
  USES=webplugin

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

Modified: head/graphics/djview4/Makefile
==============================================================================
--- head/graphics/djview4/Makefile	Wed Apr  9 13:28:29 2014	(r350699)
+++ head/graphics/djview4/Makefile	Wed Apr  9 13:34:04 2014	(r350700)
@@ -12,10 +12,10 @@ COMMENT=	Standalone Djvu viewer and plug
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	djvulibre:${PORTSDIR}/graphics/djvulibre
+LIB_DEPENDS=	libdjvulibre.so:${PORTSDIR}/graphics/djvulibre
 
 GNU_CONFIGURE=	yes
-USES=		pkgconfig
+USES=		pkgconfig webplugin:native libtool
 USE_QT4=	gui network rcc_build uic_build moc_build qmake_build
 USE_XORG=	sm ice xt
 QT_NONSTANDARD=	yes
@@ -30,16 +30,8 @@ MAKE_ENV=	INSTALL_SCRIPT="${INSTALL_SCRI
 
 WRKSRC=		${WRKDIR}/djview4-${PORTVERSION}
 
-MAN1=	djview4.1 nsdejavu.1
-MLINKS=	djview4.1 djview.1
-
-USE_WEBPLUGINS=		gecko*
-WEBPLUGINS_DIR=		${PREFIX}/lib/djview4/plugins
-WEBPLUGINS_FILES=	nsdejavu.so
-
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
+WEBPLUGIN_DIR=		${PREFIX}/lib/djview4/plugins
+WEBPLUGIN_FILES=	nsdejavu.so
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,/netscape/,/djview4/,' \
@@ -47,13 +39,4 @@ post-patch:
 	@${REINPLACE_CMD} -e 's,@NSDEJAVU_LIBS@,@NSDEJAVU_LIBS@ -lXt -lXext,g' \
 		${WRKSRC}/nsdejavu/Makefile.in
 
-post-install:
-	@${FIND} -ds ${PREFIX}/share/djvu/djview4/ ! -type d | \
-		${SED} 's,${PREFIX}/,,' >> ${TMPPLIST}
-
-	@${ECHO_CMD} "@dirrm share/djvu/djview4/desktop" >> ${TMPPLIST}
-	@${ECHO_CMD} "@dirrm share/djvu/djview4" >> ${TMPPLIST}
-	@${ECHO_CMD} "@unexec ${RMDIR} %D/share/djvu 2>/dev/null || true" \
-		>> ${TMPPLIST}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/graphics/djview4/pkg-plist
==============================================================================
--- head/graphics/djview4/pkg-plist	Wed Apr  9 13:28:29 2014	(r350699)
+++ head/graphics/djview4/pkg-plist	Wed Apr  9 13:34:04 2014	(r350700)
@@ -1,5 +1,18 @@
 bin/djview
 bin/djview4
 lib/djview4/plugins/nsdejavu.so
+man/man1/djview.1.gz
+man/man1/djview4.1.gz
+man/man1/nsdejavu.1.gz
+share/djvu/djview4/desktop/djvulibre-djview4.desktop
+share/djvu/djview4/desktop/hi-djview4.svgz
+share/djvu/djview4/desktop/hi32-djview4.png
+share/djvu/djview4/desktop/hi64-djview4.png
+share/djvu/djview4/desktop/prebuilt-hi32-djview4.png
+share/djvu/djview4/desktop/prebuilt-hi64-djview4.png
+share/djvu/djview4/desktop/register-djview-menu
+@dirrm share/djvu/djview4/desktop
+@dirrm share/djvu/djview4
+@dirrm share/djvu
 @dirrm lib/djview4/plugins
 @dirrm lib/djview4



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