View | Details | Raw Unified | Return to bug 176384
Collapse All | Expand All

(-)mozplugger.new/Makefile (-1 / +2 lines)
Lines 2-8 Link Here
2
# $FreeBSD: head/www/mozplugger/Makefile 305111 2012-10-01 12:03:48Z jhale $
2
# $FreeBSD: head/www/mozplugger/Makefile 305111 2012-10-01 12:03:48Z jhale $
3
3
4
PORTNAME=	mozplugger
4
PORTNAME=	mozplugger
5
PORTVERSION=	1.14.6
5
PORTVERSION=	2.1.3
6
CATEGORIES=	www
6
CATEGORIES=	www
7
MASTER_SITES=	http://mozplugger.mozdev.org/files/
7
MASTER_SITES=	http://mozplugger.mozdev.org/files/
8
8
Lines 11-16 Link Here
11
11
12
GNU_CONFIGURE=	yes
12
GNU_CONFIGURE=	yes
13
USE_XORG=	x11 xt
13
USE_XORG=	x11 xt
14
USE_GMAKE=	yes
14
MAN7=		mozplugger.7
15
MAN7=		mozplugger.7
15
SUB_FILES=	pkg-message
16
SUB_FILES=	pkg-message
16
17
(-)mozplugger.new/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (mozplugger-1.14.6.tar.gz) = 3fd73b51d1c0b1c310cecac90155a86ef59c748dff677df542e39282ea7ecba7
1
SHA256 (mozplugger-2.1.3.tar.gz) = d19b6063d0aba87430e5ce2e3a4230807288eb45acec1d412009c7f530d8b30a
2
SIZE (mozplugger-1.14.6.tar.gz) = 140735
2
SIZE (mozplugger-2.1.3.tar.gz) = 153715
(-)mozplugger.new/files/patch-Makefile.in (-31 / +23 lines)
Lines 1-44 Link Here
1
--- Makefile.in.orig	2012-09-26 15:43:37.000000000 -0500
1
--- Makefile.in.orig	2013-02-23 16:46:10.000000000 -0600
2
+++ Makefile.in	2012-09-26 15:46:01.000000000 -0500
2
+++ Makefile.in	2013-02-23 16:48:17.000000000 -0600
3
@@ -22,7 +22,7 @@
3
@@ -37,7 +37,7 @@
4
 RPMDIR=/usr/src/RPM
4
 RPMDIR=/usr/src/RPM
5
 
5
 
6
 # Choose compiler
6
 # Choose tool set
7
-CC=@CC@
7
-CC=@CC@
8
+CC?=@CC@
8
+CC?=@CC@
9
 MKDIR=mkdir -p
9
 LD=@CC@
10
 
10
 MKDEP=@CC@ -MM
11
 SOURCE_FILES=mozplugger.c \
11
 BIN2O=@BIN2O@
12
@@ -161,21 +161,20 @@
12
@@ -267,12 +267,12 @@
13
 
13
 
14
 install:
14
 install:
15
 	-@install -d @bindir@
15
 	-install -d @bindir@
16
-	-@install -d $(prefix)$(libprefix)/mozilla/plugins
16
+	-install -d $(root)${WEBPLUGINS_DIR}
17
+	-@install -d $(root)${WEBPLUGINS_DIR}
17
 	install mozplugger-helper @bindir@
18
 	-@install -d @mandir@/man7
19
 	-@install -d @sysconfdir@
20
 	install mozplugger-helper     @bindir@
21
 	install mozplugger-controller @bindir@
18
 	install mozplugger-controller @bindir@
22
 	install mozplugger-linker     @bindir@
19
 	install mozplugger-linker @bindir@
20
 	install mozplugger-update @bindir@
21
-	-for a in ${PLUGINDIRS}; do install -d $$a ; done
23
-	for a in ${PLUGINDIRS}; do install mozplugger.so $$a ; done
22
-	for a in ${PLUGINDIRS}; do install mozplugger.so $$a ; done
24
-#	cp mozplugger.so $(prefix)$(libprefix)/mozilla/plugins/
25
+	cp mozplugger.so $(root)${WEBPLUGINS_DIR}
23
+	cp mozplugger.so $(root)${WEBPLUGINS_DIR}
26
 	install $(srcdir)/mozpluggerrc  @sysconfdir@
24
 	-install -d @sysconfdir@
27
 	install $(srcdir)/mozplugger.7  @mandir@/man7/
25
 	install $(srcdir)/mozpluggerrc @sysconfdir@
28
 
26
 	-install -d @mandir@/man7
27
@@ -281,7 +281,8 @@
29
 uninstall:
28
 uninstall:
30
 	rm -f @mandir@/man7/mozplugger.7
29
 	-rm -f @sysconfdir@/mozpluggerrc
31
 	rm -f @sysconfdir@/mozpluggerrc
30
 	-rmdir @sysconfdir@
32
-	for target in ${PLUGINDIRS}; do rm -f $${target}/mozplugger.so; done
31
-	-for a in ${PLUGINDIRS}; do rm -f $$a/mozplugger.so ; done
32
+	rm -f $(root)${WEBPLUGINS_DIR}/mozplugger.so
33
+	rm -f $(root)${WEBPLUGINS_DIR}/mozplugger.so
33
+	rm -f $(root)${WEBPLUGINS_DIR}/mozplugger.so
34
 	rm -f @bindir@/mozplugger-linker
34
 	-rm -f @mandir@/man7/mozplugger.7
35
 	rm -f @bindir@/mozplugger-controller
36
 	rm -f @bindir@/mozplugger-helper
37
@@ -183,6 +182,7 @@
38
 	-rmdir @mandir@/man7
35
 	-rmdir @mandir@/man7
39
 	-rmdir @mandir@
36
 	-rmdir @mandir@
40
 	-rmdir @bindir@
41
+	-rmdir $(root)${WEBPLUGINS_DIR}
42
 
43
 MOZ_PACKAGE=mozplugger-@PACKAGE_VERSION@
44
 

Return to bug 176384