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

(-)autotrace/Makefile (-2 / +5 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	autotrace
8
PORTNAME=	autotrace
9
PORTVERSION=	0.29
9
PORTVERSION=	0.30
10
PORTREVISION=	1
11
CATEGORIES=	graphics
10
CATEGORIES=	graphics
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} 
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} 
13
MASTER_SITE_SUBDIR=	${PORTNAME}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 29-35 Link Here
29
28
30
USE_AUTOCONF=	yes
29
USE_AUTOCONF=	yes
31
GNU_CONFIGURE=	yes
30
GNU_CONFIGURE=	yes
31
CONFIGURE_ENV+=	CPPFLAGS="-I/usr/local/include -I/usr/local/include/ming"
32
CONFIGURE_ENV+=	LIBS=-L/usr/local/lib 
32
USE_XLIB=	yes
33
USE_XLIB=	yes
34
35
MAN1=	autotrace.1
33
36
34
pre-install:
37
pre-install:
35
	@(cd ${WRKSRC} ; perl -p -i.bak -e s/\\@OBJEXT\\@/o/ Makefile)	
38
	@(cd ${WRKSRC} ; perl -p -i.bak -e s/\\@OBJEXT\\@/o/ Makefile)	
(-)autotrace/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (autotrace-0.29.tar.gz) = 39ff756fc6d8a8cdd4616e311e1066b8
1
MD5 (autotrace-0.30.tar.gz) = 979efa47568d41eb4d804e2658f3cade
(-)autotrace/files/patch-aa (-123 lines)
Lines 1-123 Link Here
1
--- configure.in.orig	Sat Dec  8 11:28:42 2001
2
+++ configure.in	Mon Dec 24 13:12:03 2001
3
@@ -84,55 +84,75 @@
4
 	                     AC_MSG_WARN(*** ZLIB header files not found: PNG Input will be disabled. ***)),
5
 	     AC_MSG_WARN(*** ZLIB library files not found: PNG Input will be disabled. ***))
6
 
7
-dnl Test for libpng
8
-HAVE_LIBPNG_STAGE1=no
9
-AC_CHECK_LIB(png, png_get_image_width,
10
-	HAVE_LIBPNG_STAGE1=yes ,,-lz)
11
-
12
-HAVE_LIBPNG=no
13
-if test "x$HAVE_LIBPNG_STAGE1" = "xyes" ; then
14
-	AC_CHECK_LIB(png, png_read_png,
15
-		HAVE_LIBPNG=yes ,,-lz)
16
-	if test "x$HAVE_LIBPNG" = "xyes" ; then
17
-		LIBPNG_LDFLAGS="-lpng -lz"
18
-		AC_SUBST(LIBPNG_LDFLAGS)
19
-		AC_DEFINE(HAVE_LIBPNG)
20
-	else
21
-	   AC_MSG_WARN([*** libpng exists but cannot find png_read_png in the libpng. ***])
22
-	   AC_MSG_WARN([*** libpng might be old.                                      ***])
23
-	   AC_MSG_WARN([*** You need libpng 1.0.6 or higher.                          ***])
24
-	   AC_MSG_WARN([*** Png input handler is disabled.                            ***])
25
-	fi
26
-else
27
-	AC_MSG_WARN([*** Cannot find libpng.            ***])
28
-	AC_MSG_WARN([*** Png input handler is disabled. ***])
29
-fi
30
-AM_CONDITIONAL(HAVE_LIBPNG, test x$HAVE_LIBPNG = xyes)
31
-
32
 dnl
33
-dnl LIBMING(LIBSWF)
34
+dnl commented out by porter.
35
 dnl
36
-HAVE_LIBSWF=no
37
 
38
-AC_CHECK_HEADER(ming.h,
39
-	        swf_header_found=yes,
40
-		swf_header_found=no)
41
-if test "${swf_header_found}" = yes ; then
42
-	AC_CHECK_LIB(ming, Ming_init, 
43
-		     HAVE_LIBSWF=yes,,-lm)
44
-	if test "$HAVE_LIBSWF" = "yes" ; then
45
-		LIBSWF_LDFLAGS="-lming -lm"
46
-		AC_SUBST(LIBSWF_LDFLAGS)
47
-		AC_DEFINE(HAVE_LIBSWF)
48
-	else
49
- 		AC_MSG_WARN([*** Cannot find libming.    ***])
50
-		AC_MSG_WARN([*** SWF output is disabled. ***])
51
-	fi
52
-else
53
-	AC_MSG_WARN([*** Cannot find ming.h.     ***])
54
-	AC_MSG_WARN([*** SWF output is disabled. ***])
55
-fi
56
+dnl dnl Test for libpng
57
+dnl HAVE_LIBPNG_STAGE1=no
58
+dnl AC_CHECK_LIB(png, png_get_image_width,
59
+dnl 	HAVE_LIBPNG_STAGE1=yes ,,-lz)
60
+
61
+dnl HAVE_LIBPNG=no
62
+dnl if test "x$HAVE_LIBPNG_STAGE1" = "xyes" ; then
63
+dnl 	AC_CHECK_LIB(png, png_read_png,
64
+dnl 		HAVE_LIBPNG=yes ,,-lz)
65
+dnl 	if test "x$HAVE_LIBPNG" = "xyes" ; then
66
+dnl 		LIBPNG_LDFLAGS="-lpng -lz"
67
+dnl 		AC_SUBST(LIBPNG_LDFLAGS)
68
+dnl 		AC_DEFINE(HAVE_LIBPNG)
69
+dnl 	else
70
+dnl 	   AC_MSG_WARN([*** libpng exists but cannot find png_read_png in the libpng. ***])
71
+dnl 	   AC_MSG_WARN([*** libpng might be old.                                      ***])
72
+dnl 	   AC_MSG_WARN([*** You need libpng 1.0.6 or higher.                          ***])
73
+dnl 	   AC_MSG_WARN([*** Png input handler is disabled.                            ***])
74
+dnl 	fi
75
+dnl else
76
+dnl 	AC_MSG_WARN([*** Cannot find libpng.            ***])
77
+dnl 	AC_MSG_WARN([*** Png input handler is disabled. ***])
78
+dnl fi
79
+dnl AM_CONDITIONAL(HAVE_LIBPNG, test x$HAVE_LIBPNG = xyes)
80
+
81
+dnl dnl
82
+dnl dnl LIBMING(LIBSWF)
83
+dnl dnl
84
+dnl HAVE_LIBSWF=no
85
+dnl 
86
+dnl AC_CHECK_HEADER(ming/ming.h,
87
+dnl 	        swf_header_found=yes,
88
+dnl 		swf_header_found=no)
89
+dnl if test "${swf_header_found}" = yes ; then
90
+dnl 	AC_CHECK_LIB(ming, Ming_init, 
91
+dnl 		     HAVE_LIBSWF=yes,,-lm)
92
+dnl 	if test "$HAVE_LIBSWF" = "yes" ; then
93
+dnl 		LIBSWF_LDFLAGS="-lming -lm"
94
+dnl 		AC_SUBST(LIBSWF_LDFLAGS)
95
+dnl 		AC_DEFINE(HAVE_LIBSWF)
96
+dnl 	else
97
+dnl  		AC_MSG_WARN([*** Cannot find libming.    ***])
98
+dnl 		AC_MSG_WARN([*** SWF output is disabled. ***])
99
+dnl 	fi
100
+dnl else
101
+dnl 	AC_MSG_WARN([*** Cannot find ming.h.     ***])
102
+dnl 	AC_MSG_WARN([*** SWF output is disabled. ***])
103
+dnl fi
104
+dnl AM_CONDITIONAL(HAVE_LIBSWF, test x$HAVE_LIBSWF = xyes)
105
+
106
+AC_MSG_WARN("************************************")
107
+AC_MSG_WARN("*** \ \ forcing HAVE_LIBPNG=yes. \ \ \*\*\*")
108
+HAVE_LIBPNG=yes
109
+LIBPNG_LDFLAGS="-lpng -lz"
110
+AC_SUBST(LIBPNG_LDFLAGS)
111
+AC_DEFINE(HAVE_LIBPNG)
112
+AM_CONDITIONAL(HAVE_LIBPNG, test x$HAVE_LIBPNG = xyes)
113
+
114
+AC_MSG_WARN("*** \ \ forcing HAVE_LIBSWF=yes. \ \ \*\*\*")
115
+HAVE_LIBSWF=yes
116
+LIBSWF_LDFLAGS="-lming -lm"
117
+AC_SUBST(LIBSWF_LDFLAGS)
118
+AC_DEFINE(HAVE_LIBSWF)
119
 AM_CONDITIONAL(HAVE_LIBSWF, test x$HAVE_LIBSWF = xyes)
120
+AC_MSG_WARN("************************************")
121
 
122
 AC_CHECK_HEADERS(malloc.h)
123
 
(-)autotrace/files/patch-ac (+11 lines)
Line 0 Link Here
1
--- Makefile.in.orig	Wed Apr  3 06:53:06 2002
2
+++ Makefile.in	Thu Apr  4 11:18:35 2002
3
@@ -190,7 +190,7 @@
4
 m4datadir = $(datadir)/aclocal
5
 m4data_DATA = autotrace.m4
6
 
7
-pkgconfigdir = $(libdir)/pkgconfig
8
+pkgconfigdir = $(prefix)/libdata/pkgconfig
9
 pkgconfig_DATA = autotrace.pc
10
 
11
 bin_SCRIPTS = autotrace-config
(-)autotrace/pkg-plist (+4 lines)
Lines 3-8 Link Here
3
bin/autotrace-config
3
bin/autotrace-config
4
share/aclocal/autotrace.m4
4
share/aclocal/autotrace.m4
5
@unexec rmdir %D/share/aclocal 2>/dev/null || true
5
@unexec rmdir %D/share/aclocal 2>/dev/null || true
6
libdata/pkgconfig/autotrace.pc
7
@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true
6
include/autotrace/types.h
8
include/autotrace/types.h
7
include/autotrace/autotrace.h
9
include/autotrace/autotrace.h
10
include/autotrace/input.h
11
include/autotrace/exception.h
8
@dirrm include/autotrace
12
@dirrm include/autotrace

Return to bug 36776