Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2014 14:04:39 +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: r350707 - head/www/mozplugger
Message-ID:  <201404091404.s39E4dV5062554@svn.freebsd.org>

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

Log:
  Support stage
  USES=webplugin

Modified:
  head/www/mozplugger/Makefile
  head/www/mozplugger/pkg-plist

Modified: head/www/mozplugger/Makefile
==============================================================================
--- head/www/mozplugger/Makefile	Wed Apr  9 14:01:24 2014	(r350706)
+++ head/www/mozplugger/Makefile	Wed Apr  9 14:04:38 2014	(r350707)
@@ -11,25 +11,15 @@ COMMENT=	Framework for loading web conte
 
 GNU_CONFIGURE=	yes
 USE_XORG=	x11 xt
-USES=		gmake
-MAN7=		mozplugger.7
+USES=		desthack gmake webplugin:native
 SUB_FILES=	pkg-message
 
-USE_WEBPLUGINS=	native
-WEBPLUGINS_FILES=mozplugger.so
-MAKE_ENV=	WEBPLUGINS_DIR="${WEBPLUGINS_DIR}"
-
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
+WEBPLUGIN_FILES=mozplugger.so
+MAKE_ENV=	WEBPLUGINS_DIR="${WEBPLUGIN_DIR}"
+MAKE_ARGS=	root=${STAGEDIR}
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|"/etc|"${PREFIX}/etc|g' \
 		${WRKSRC}/mozplugger.c
 
-post-install:
-	@${ECHO_MSG}
-	@${CAT} ${PKGMESSAGE}
-	@${ECHO_MSG}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/www/mozplugger/pkg-plist
==============================================================================
--- head/www/mozplugger/pkg-plist	Wed Apr  9 14:01:24 2014	(r350706)
+++ head/www/mozplugger/pkg-plist	Wed Apr  9 14:04:38 2014	(r350707)
@@ -3,5 +3,5 @@ bin/mozplugger-helper
 bin/mozplugger-linker
 bin/mozplugger-update
 etc/mozpluggerrc
-%%WEBPLUGINS_DIR%%/mozplugger.so
-@dirrmtry %%WEBPLUGINS_DIR%%
+man/man7/mozplugger.7.gz
+%%WEBPLUGIN_DIR%%/mozplugger.so



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