1999-06-26 00:14:30 +02:00
|
|
|
# New ports collection makefile for: plugger
|
|
|
|
# Date created: 11 Februrary 1999
|
|
|
|
# Whom: Jay Sachs <sachs@cs.williams.edu>
|
|
|
|
#
|
1999-08-31 04:43:35 +02:00
|
|
|
# $FreeBSD$
|
1999-06-26 00:14:30 +02:00
|
|
|
#
|
|
|
|
|
2000-04-10 02:07:29 +02:00
|
|
|
PORTNAME= plugger
|
2005-05-04 16:53:54 +02:00
|
|
|
PORTVERSION= 5.1.3
|
2009-01-10 03:45:46 +01:00
|
|
|
PORTREVISION= 7
|
2002-11-28 17:37:35 +01:00
|
|
|
CATEGORIES= www audio graphics multimedia
|
2004-02-12 08:49:47 +01:00
|
|
|
MASTER_SITES= http://fredrik.hubbe.net/plugger/
|
1999-06-26 00:14:30 +02:00
|
|
|
|
2008-08-20 08:40:43 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 15:08:24 +01:00
|
|
|
COMMENT= A multimedia front-end plugin for Mozilla or Opera
|
1999-06-26 00:14:30 +02:00
|
|
|
|
2008-03-22 15:48:03 +01:00
|
|
|
USE_XORG= xext xt sm ice xext x11
|
2004-07-09 16:01:31 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2000-10-10 19:57:37 +02:00
|
|
|
|
1999-06-26 00:14:30 +02:00
|
|
|
MAN7= plugger.7
|
2004-02-12 08:49:47 +01:00
|
|
|
PKGDEINSTALL= ${PKGINSTALL}
|
1999-06-26 00:14:30 +02:00
|
|
|
|
2009-01-10 03:45:46 +01:00
|
|
|
USE_WEBPLUGINS= native
|
|
|
|
WEBPLUGINS_FILES=npplugger.so
|
|
|
|
|
2002-04-08 17:46:48 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2009-01-10 03:45:46 +01:00
|
|
|
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
|
2002-04-08 17:46:48 +02:00
|
|
|
|
1999-06-26 00:14:30 +02:00
|
|
|
post-patch:
|
2004-02-22 08:57:36 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
2006-10-14 10:54:54 +02:00
|
|
|
's|/usr/X11R6/lib/xscreensaver|${LOCALBASE}/bin/xscreensaver-hacks|g ; \
|
2008-10-05 04:49:27 +02:00
|
|
|
s|+useFrontEndProgram||g' \
|
2004-02-22 08:57:36 +01:00
|
|
|
${WRKSRC}/pluggerrc
|
2004-02-12 08:49:47 +01:00
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
|
|
|
|
${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
2000-05-29 05:29:36 +02:00
|
|
|
|
|
|
|
do-install:
|
2004-02-12 08:49:47 +01:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/plugger-${PORTVERSION} \
|
|
|
|
${PREFIX}/bin
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/plugger-controller \
|
|
|
|
${PREFIX}/bin
|
2004-07-09 16:01:31 +02:00
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/plugger-oohelper \
|
|
|
|
${PREFIX}/bin
|
2009-01-10 03:45:46 +01:00
|
|
|
@${MKDIR} ${WEBPLUGINS_DIR}
|
2001-12-15 15:29:57 +01:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/plugger.so \
|
2009-01-10 03:45:46 +01:00
|
|
|
${WEBPLUGINS_DIR}/npplugger.so
|
2004-02-12 08:49:47 +01:00
|
|
|
@if [ -f ${PREFIX}/etc/pluggerrc-${PORTVERSION} ]; then \
|
|
|
|
${MV} ${PREFIX}/etc/pluggerrc-${PORTVERSION} \
|
|
|
|
${PREFIX}/etc/pluggerrc-${PORTVERSION}.old; \
|
|
|
|
fi
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/pluggerrc \
|
|
|
|
${PREFIX}/etc/pluggerrc-${PORTVERSION}.sample
|
2001-09-04 18:32:21 +02:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/plugger.7 ${MANPREFIX}/man/man7
|
2004-02-12 08:49:47 +01:00
|
|
|
|
|
|
|
local-install:
|
2004-07-09 16:01:31 +02:00
|
|
|
@${MKDIR} ${HOME}/.plugger
|
2004-02-12 08:49:47 +01:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/plugger-${PORTVERSION} \
|
2004-07-09 16:01:31 +02:00
|
|
|
${HOME}/.plugger
|
2004-02-12 08:49:47 +01:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/plugger-controller \
|
2004-07-09 16:01:31 +02:00
|
|
|
${HOME}/.plugger
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/plugger-oohelper \
|
|
|
|
${HOME}/.plugger
|
|
|
|
@if [ -f ${HOME}/.plugger/pluggerrc-${PORTVERSION} ]; then \
|
|
|
|
${MV} ${HOME}/.plugger/pluggerrc-${PORTVERSION} \
|
|
|
|
${HOME}/.plugger/pluggerrc-${PORTVERSION}.old; \
|
2004-02-12 08:49:47 +01:00
|
|
|
fi
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/pluggerrc \
|
2004-07-09 16:01:31 +02:00
|
|
|
${HOME}/.plugger/pluggerrc-${PORTVERSION}
|
|
|
|
|
|
|
|
local-mozilla-install: local-install
|
|
|
|
@${MKDIR} ${HOME}/.mozilla/plugins
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/plugger.so \
|
|
|
|
${HOME}/.mozilla/plugins/npplugger.so
|
2004-02-12 08:49:47 +01:00
|
|
|
|
2004-07-09 16:01:31 +02:00
|
|
|
local-opera-install: local-install
|
2004-02-12 08:49:47 +01:00
|
|
|
@${MKDIR} ${HOME}/.opera/plugins
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/plugger.so \
|
|
|
|
${HOME}/.opera/plugins/npplugger.so
|
1999-06-26 00:14:30 +02:00
|
|
|
|
|
|
|
post-install:
|
2004-02-12 08:49:47 +01:00
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
|
|
|
|
${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
1999-06-26 00:14:30 +02:00
|
|
|
|
2002-04-08 17:46:48 +02:00
|
|
|
.include <bsd.port.post.mk>
|