mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
36 lines
859 B
Makefile
36 lines
859 B
Makefile
# New ports collection makefile for: mplayerplug-in
|
|
# Date Created: 20 February 2003
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mplayerplug-in
|
|
PORTVERSION= 0.80
|
|
CATEGORIES= www multimedia
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= mplayerplug-in
|
|
|
|
MAINTAINER= marcus@FreeBSD.org
|
|
COMMENT= A Mozilla plugin for the MPlayer media player
|
|
|
|
RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
USE_X_PREFIX= yes
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
|
|
${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
|
|
${WRKSRC}/Source/mplayerplug-in.c
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/lib/browser_plugins
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mplayerplug-in.so \
|
|
${PREFIX}/lib/browser_plugins
|
|
|
|
.include <bsd.port.mk>
|