1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- Update to 2.1.3

- Trim header

PR:		ports/176384
Submitted by:	Rusty Nejdl <rnejdl@ringofsaturn.com> (maintainer)
This commit is contained in:
Bryan Drewery 2013-02-25 16:14:28 +00:00
parent 4b1f4956d6
commit 7121f8f69f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312929
4 changed files with 28 additions and 34 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mozplugger
PORTVERSION= 1.14.6
PORTVERSION= 2.1.3
CATEGORIES= www
MASTER_SITES= http://mozplugger.mozdev.org/files/
@ -11,6 +11,7 @@ COMMENT= Framework for loading web content in external viewers
GNU_CONFIGURE= yes
USE_XORG= x11 xt
USE_GMAKE= yes
MAN7= mozplugger.7
SUB_FILES= pkg-message

View File

@ -1,2 +1,2 @@
SHA256 (mozplugger-1.14.6.tar.gz) = 3fd73b51d1c0b1c310cecac90155a86ef59c748dff677df542e39282ea7ecba7
SIZE (mozplugger-1.14.6.tar.gz) = 140735
SHA256 (mozplugger-2.1.3.tar.gz) = d19b6063d0aba87430e5ce2e3a4230807288eb45acec1d412009c7f530d8b30a
SIZE (mozplugger-2.1.3.tar.gz) = 153715

View File

@ -1,44 +1,36 @@
--- Makefile.in.orig 2012-09-26 15:43:37.000000000 -0500
+++ Makefile.in 2012-09-26 15:46:01.000000000 -0500
@@ -22,7 +22,7 @@
--- Makefile.in.orig 2013-02-23 16:46:10.000000000 -0600
+++ Makefile.in 2013-02-23 16:48:17.000000000 -0600
@@ -37,7 +37,7 @@
RPMDIR=/usr/src/RPM
# Choose compiler
# Choose tool set
-CC=@CC@
+CC?=@CC@
MKDIR=mkdir -p
SOURCE_FILES=mozplugger.c \
@@ -161,21 +161,20 @@
LD=@CC@
MKDEP=@CC@ -MM
BIN2O=@BIN2O@
@@ -267,12 +267,12 @@
install:
-@install -d @bindir@
- -@install -d $(prefix)$(libprefix)/mozilla/plugins
+ -@install -d $(root)${WEBPLUGINS_DIR}
-@install -d @mandir@/man7
-@install -d @sysconfdir@
install mozplugger-helper @bindir@
-install -d @bindir@
+ -install -d $(root)${WEBPLUGINS_DIR}
install mozplugger-helper @bindir@
install mozplugger-controller @bindir@
install mozplugger-linker @bindir@
install mozplugger-linker @bindir@
install mozplugger-update @bindir@
- -for a in ${PLUGINDIRS}; do install -d $$a ; done
- for a in ${PLUGINDIRS}; do install mozplugger.so $$a ; done
-# cp mozplugger.so $(prefix)$(libprefix)/mozilla/plugins/
+ cp mozplugger.so $(root)${WEBPLUGINS_DIR}
install $(srcdir)/mozpluggerrc @sysconfdir@
install $(srcdir)/mozplugger.7 @mandir@/man7/
-install -d @sysconfdir@
install $(srcdir)/mozpluggerrc @sysconfdir@
-install -d @mandir@/man7
@@ -281,7 +281,8 @@
uninstall:
rm -f @mandir@/man7/mozplugger.7
rm -f @sysconfdir@/mozpluggerrc
- for target in ${PLUGINDIRS}; do rm -f $${target}/mozplugger.so; done
-rm -f @sysconfdir@/mozpluggerrc
-rmdir @sysconfdir@
- -for a in ${PLUGINDIRS}; do rm -f $$a/mozplugger.so ; done
+ rm -f $(root)${WEBPLUGINS_DIR}/mozplugger.so
rm -f @bindir@/mozplugger-linker
rm -f @bindir@/mozplugger-controller
rm -f @bindir@/mozplugger-helper
@@ -183,6 +182,7 @@
+ rm -f $(root)${WEBPLUGINS_DIR}/mozplugger.so
-rm -f @mandir@/man7/mozplugger.7
-rmdir @mandir@/man7
-rmdir @mandir@
-rmdir @bindir@
+ -rmdir $(root)${WEBPLUGINS_DIR}
MOZ_PACKAGE=mozplugger-@PACKAGE_VERSION@

View File

@ -1,6 +1,7 @@
bin/mozplugger-controller
bin/mozplugger-helper
bin/mozplugger-linker
bin/mozplugger-update
etc/mozpluggerrc
%%WEBPLUGINS_DIR%%/mozplugger.so
@dirrmtry %%WEBPLUGINS_DIR%%