summaryrefslogtreecommitdiff
path: root/www/mplayer-plugin
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-09-29 07:30:58 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-09-29 07:30:58 +0000
commit9062a865ce6f98baa86e297ee5dda906bbbb1c01 (patch)
treeb56e1642840e432bb779b3e86bd8e70625f6dd5b /www/mplayer-plugin
parentUpgrade to 1.62.3. (diff)
Actually install an mplayerplug-in.conf file if one doesn't exist. This
file will not be deleted at uninstall time unless it is the same as the version included with the distribution.
Notes
Notes: svn path=/head/; revision=89749
Diffstat (limited to 'www/mplayer-plugin')
-rw-r--r--www/mplayer-plugin/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/mplayer-plugin/Makefile b/www/mplayer-plugin/Makefile
index 160537d57dbd..6850d594f73b 100644
--- a/www/mplayer-plugin/Makefile
+++ b/www/mplayer-plugin/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mplayerplug-in
PORTVERSION= 0.91
+PORTREVISION= 1
CATEGORIES= www multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mplayerplug-in
@@ -33,5 +34,9 @@ do-install:
${PREFIX}/lib/browser_plugins
${INSTALL_DATA} ${WRKSRC}/mplayerplug-in.conf \
${PREFIX}/etc/mplayerplug-in.conf.dist
+ if [ ! -f ${PREFIX}/etc/mplayerplug-in.conf ]; then \
+ ${INSTALL_DATA} ${WRKSRC}/mplayerplug-in.conf \
+ ${PREFIX}/etc/mplayerplug-in.conf ; \
+ fi
.include <bsd.port.mk>