freebsd-ports/www/npapi-vlc/Makefile
Baptiste Daroussin 1ad6236c36 Convert vlc to USES=libtool
Because vlc uses a dynamic plist that dynamic plist should be created after the removal of the .la files hence move this target into add-plist-data (this is a dirty workaround) and one more reason why dynamic plist are evil
libvlc.so.X number has changed (hidden by dynamic plist, told you this is evil)
bump all consumers of libvlc.so
2014-05-26 22:24:13 +00:00

30 lines
772 B
Makefile

# Created by: Mikhail Teterin <mi@aldan.algebra.com>
# $FreeBSD$
PORTNAME= npapi-vlc
PORTVERSION= 2.0.6
PORTREVISION= 2
CATEGORIES= www multimedia
MASTER_SITES= http://download.videolan.org/pub/videolan/vlc-webplugins/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Embeds vlc-player in web-browsers
LIB_DEPENDS= libvlc.so:${PORTSDIR}/multimedia/vlc \
libxul.so:${PORTSDIR}/www/libxul
USES= webplugin:native pkgconfig
USE_XZ= yes
USE_GNOME= gtk20
WEBPLUGIN_NAME= #
WEBPLUGIN_FILES=libvlcplugin.so
GNU_CONFIGURE= yes
PLIST_FILES= ${WEBPLUGIN_DIR:S,^${PREFIX}/,,}${WEBPLUGIN_FILES}
PATCH_STRIP= -p1
do-install:
${MKDIR} ${STAGEDIR}${WEBPLUGIN_DIR}
${INSTALL_LIB} ${WRKSRC}/npapi/.libs/libvlcplugin.so \
${STAGEDIR}/${WEBPLUGIN_DIR}
.include <bsd.port.mk>