aboutsummaryrefslogtreecommitdiffstats
path: root/www/npapi-xine
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-11-13 16:05:05 +0800
committerbapt <bapt@FreeBSD.org>2013-11-13 16:05:05 +0800
commit651d10cd9634ed2446a0ab9672899bc80a061e0f (patch)
treed2106d4996caea797f1df690504aeb3ef899748b /www/npapi-xine
parentbcfe83ec01e9efd8f6d47688453d871bdeb7167c (diff)
downloadfreebsd-ports-gnome-651d10cd9634ed2446a0ab9672899bc80a061e0f.tar.gz
freebsd-ports-gnome-651d10cd9634ed2446a0ab9672899bc80a061e0f.tar.zst
freebsd-ports-gnome-651d10cd9634ed2446a0ab9672899bc80a061e0f.zip
Convert to USES=webplugin
While here stage
Diffstat (limited to 'www/npapi-xine')
-rw-r--r--www/npapi-xine/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/www/npapi-xine/Makefile b/www/npapi-xine/Makefile
index 29c41aac3e22..37e3dae4545c 100644
--- a/www/npapi-xine/Makefile
+++ b/www/npapi-xine/Makefile
@@ -12,16 +12,17 @@ PKGNAMEPREFIX= npapi-
MAINTAINER= miwi@FreeBSD.org
COMMENT= Embed Xine player into browser
-LIB_DEPENDS= xine.2:${PORTSDIR}/multimedia/libxine
+LIB_DEPENDS= libxine.so:${PORTSDIR}/multimedia/libxine
-USES= pkgconfig
+USES= pkgconfig webplugin:native
USE_BZIP2= yes
GNU_CONFIGURE= yes
-USE_NPAPI= native
-NPAPI_ID= ${PORTNAME}
-NPAPI_WRKSRC= ${WRKSRC}/src/.libs
-NPAPI_FILES= xineplugin.so
+WEBPLUGIN_NAME= #
+WEBPLUGIN_FILES= xineplugin.so
+PLIST_FILES= ${WEBPLUGIN_DIR}${WEBPLUGIN_FILES}
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${WEBPLUGIN_DIR}
+ ${INSTALL_LIB} ${WRKSRC}/src/.libs/${WEBPLUGIN_FILES} ${STAGEDIR}${WEBPLUGIN_DIR}
-NO_STAGE= yes
-.include "${.CURDIR}/../linux-mplayer-plugin/Makefile.npapi"
.include <bsd.port.mk>