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

(-)graphics/aalib/Makefile (-7 / +5 lines)
Lines 9-22 Link Here
9
PORTVERSION=	1.2
9
PORTVERSION=	1.2
10
PORTREVISION=	2
10
PORTREVISION=	2
11
CATEGORIES=	graphics
11
CATEGORIES=	graphics
12
MASTER_SITES=	ftp://horac.ta.jcu.cz/pub/aa/ \
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
		${MASTER_SITE_SUNSITE}
13
MASTER_SITE_SUBDIR=	aa-project
14
MASTER_SITE_SUBDIR=	libs/graphics
15
14
16
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
17
16
18
USE_AUTOMAKE=	yes
19
AUTOMAKE=	automake -a -i
20
USE_LIBTOOL=	yes
17
USE_LIBTOOL=	yes
21
INSTALLS_SHLIB=	yes
18
INSTALLS_SHLIB=	yes
22
19
Lines 29-35 Link Here
29
.endif
26
.endif
30
27
31
post-patch:
28
post-patch:
32
	@${RM} -f ${WRKSRC}/config.cache
29
	@${PERL} -pi -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure
33
	@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g;" ${WRKSRC}/configure.in
30
	@find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \
31
		's|<malloc.h>|<stdlib.h>|g'
34
32
35
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)graphics/aalib/files/patch-ac (-37 lines)
Lines 1-37 Link Here
1
--- configure.in.orig	Wed Oct 29 06:48:40 1997
2
+++ configure.in	Wed Jul 12 00:56:59 2000
3
@@ -243,10 +243,10 @@
4
 	fi
5
      fi
6
   ])
7
-  AC_SLANG(/usr/include, slang.h, , -I/usr/include/slang , "slang on /usr/include")
8
+  AC_SLANG(/usr/include, slang.h, , -I/usr/include , "slang on /usr/include")
9
   AC_SLANG(/usr/include/slang, slang.h, , -I/usr/include/slang , "slang on /usr/include/slang")
10
-  AC_SLANG(/usr/local/include, slang.h, , -I/usr/local/include/slang , "slang on /usr/local/include")
11
-  AC_SLANG(/usr/local/include/slang, slang.h, , -I/usr/local/include/slang , "slang on /usr/local/include/slang")
12
+  AC_SLANG(%%LOCALBASE%%/include, slang.h, , -I%%LOCALBASE%%/include , "slang on %%LOCALBASE%%/include")
13
+  AC_SLANG(%%LOCALBASE%%/include/slang, slang.h, , -I%%LOCALBASE%%/include/slang , "slang on %%LOCALBASE%%/include/slang")
14
   if test "$slang_driver" = true; then
15
     if test "$force_curses_driver" = false; then
16
       echo "Disabling curses driver since slang is available"
17
@@ -314,14 +314,14 @@
18
 then
19
     AC_CHECKING("location of curses")
20
 
21
-    AC_NCURSES(/usr/include, ncurses.h, , -I/usr/include/ncurses , "ncurses on /usr/include")
22
-    AC_NCURSES(/usr/include/ncurses, ncurses.h, , -I/usr/include/ncurses, "ncurses on /usr/include/ncurses")
23
-    AC_NCURSES(/usr/local/include, ncurses.h, ,-L/usr/local/lib, -I/usr/local/include, "ncurses on /usr/local")
24
-    AC_NCURSES(/usr/local/include/ncurses, ncurses.h, -L/usr/local/lib -L/usr/local/lib/ncurses, -I/usr/local/include/ncurses, "ncurses on /usr/local/include/ncurses")
25
+    AC_NCURSES(/usr/include, ncurses.h, -L/usr/lib, -I/usr/include , "ncurses on /usr/include")
26
+    AC_NCURSES(/usr/include/ncurses, ncurses.h, -L/usr/lib, -I/usr/include/ncurses, "ncurses on /usr/include/ncurses")
27
+    AC_NCURSES(%%LOCALBASE%%/include, ncurses.h, -L%%LOCALBASE%%/lib, -I%%LOCALBASE%%/include, "ncurses on %%LOCALBASE%%")
28
+    AC_NCURSES(%%LOCALBASE%%/include/ncurses, ncurses.h, -L%%LOCALBASE%%/lib -L%%LOCALBASE%%/lib/ncurses, -I%%LOCALBASE%%/include/ncurses, "ncurses on %%LOCALBASE%%/include/ncurses")
29
 
30
-    AC_NCURSES(/usr/local/include/ncurses, curses.h, -L/usr/local/lib, -I/usr/local/include/ncurses -DRENAMED_NCURSES, "renamed ncurses on /usr/local/.../ncurses")
31
+    AC_NCURSES(%%LOCALBASE%%/include/ncurses, curses.h, -L%%LOCALBASE%%/lib, -I%%LOCALBASE%%/include/ncurses -DRENAMED_NCURSES, "renamed ncurses on %%LOCALBASE%%/include/ncurses")
32
 
33
-    AC_NCURSES(/usr/include/ncurses, curses.h, , -I/usr/include/ncurses -DRENAMED_NCURSES, "renamed ncurses on /usr/include/ncurses")
34
+    AC_NCURSES(/usr/include/ncurses, curses.h, -L/usr/lib, -I/usr/include/ncurses -DRENAMED_NCURSES, "renamed ncurses on /usr/include/ncurses")
35
     AC_CURSES(/usr/include, curses.h, , , "curses on /usr/include")
36
 
37
     dnl
(-)graphics/aalib/files/patch-ae (-11 lines)
Lines 1-11 Link Here
1
--- aclocal.m4.orig	Wed Nov 12 05:17:00 1997
2
+++ aclocal.m4	Tue Dec  7 03:26:34 1999
3
@@ -10,7 +10,7 @@
4
 dnl AM_INIT_AUTOMAKE(package,version, [no-define])
5
 
6
 AC_DEFUN(AM_INIT_AUTOMAKE,
7
-[AC_REQUIRE([AM_PROG_INSTALL])
8
+[AC_REQUIRE([AC_PROG_INSTALL])
9
 PACKAGE=[$1]
10
 AC_SUBST(PACKAGE)
11
 VERSION=[$2]
(-)graphics/aalib/pkg-descr (-1 / +1 lines)
Lines 6-9 Link Here
6
The AA-lib API is designed to be similar to that of other graphics
6
The AA-lib API is designed to be similar to that of other graphics
7
libraries so learning its API should be simple.
7
libraries so learning its API should be simple.
8
8
9
WWW: http://horac.ta.jcu.cz/aa/aalib/
9
WWW: http://aa-project.sourceforge.net/aalib/

Return to bug 29823