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

(-)audio/gnump3d/Makefile (-9 / +14 lines)
Lines 7-27 Link Here
7
#
7
#
8
8
9
PORTNAME=	gnump3d
9
PORTNAME=	gnump3d
10
PORTVERSION=	0.9.9.9.1
10
PORTVERSION=	0.9.9.9.2
11
CATEGORIES=	audio
11
CATEGORIES=	audio
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
14
14
15
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
16
16
17
BUILD_DEPENDS=	autoconf:${PORTSDIR}/devel/autoconf
18
17
USE_BZIP2=	yes
19
USE_BZIP2=	yes
18
USE_PERL5=	yes
20
USE_PERL5=	yes
19
USE_REINPLACE=	yes
21
USE_REINPLACE=	yes
20
USE_GMAKE=	yes
22
USE_GMAKE=	yes
21
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
22
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
23
		LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
24
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
24
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
25
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
26
		LDFLAGS="-L${LOCALBASE}/lib"
27
CONFIGURE_ARGS=	--libdir=${PREFIX}/lib/gnump3d
28
INSTALLS_SHLIB=	yes
25
29
26
MAN1=	gnump3d.1 gnump3d.conf.1 gnump3d-config.1 gnump3d-top.1
30
MAN1=	gnump3d.1 gnump3d.conf.1 gnump3d-config.1 gnump3d-top.1
27
31
Lines 38-50 Link Here
38
.endif
42
.endif
39
43
40
post-patch:
44
post-patch:
41
	@${REINPLACE_CMD} -e \
45
	@${REINPLACE_CMD} -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g ; \
42
		's|=aclocal|=${TRUE}|g ; \
46
		 s|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/aclocal.m4
43
		 s|=autoconf|=${TRUE}|g ; \
44
		 s|=automake|=${TRUE}|g ; \
45
		 s|=autoheader|=${TRUE}|g ; \
46
		 s|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
47
	@${REINPLACE_CMD} -e \
47
	@${REINPLACE_CMD} -e \
48
		's|#undef socklen_t||g' ${WRKSRC}/src/config.h.in
48
		's|#undef socklen_t||g' ${WRKSRC}/src/config.h.in
49
50
pre-configure:
51
.for dir in . mplib libltdl
52
	@cd ${WRKSRC}/${dir} && ${LOCALBASE}/bin/autoconf
53
.endfor
49
54
50
.include <bsd.port.mk>
55
.include <bsd.port.mk>
(-)audio/gnump3d/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (gnump3d-0.9.9.9.1.tar.bz2) = 10048c53ec1a1382fe8092dd181dbe00
1
MD5 (gnump3d-0.9.9.9.2.tar.bz2) = 1e8c72e5dec7ab9c98f2d9e5795cfca3
(-)audio/gnump3d/files/patch-config::ltmain.sh (+10 lines)
Line 0 Link Here
1
--- config/ltmain.sh.orig	Sun Jul 14 08:53:50 2002
2
+++ config/ltmain.sh	Tue Jul 16 00:38:55 2002
3
@@ -967,6 +967,7 @@
4
 	;;
5
 
6
       -avoid-version)
7
+	build_old_libs=no
8
 	avoid_version=yes
9
 	continue
10
 	;;
(-)audio/gnump3d/files/patch-src::threads.cc (+10 lines)
Line 0 Link Here
1
--- src/threads.cc.orig	Sun Jul 14 08:53:50 2002
2
+++ src/threads.cc	Tue Jul 16 00:01:18 2002
3
@@ -39,6 +39,7 @@
4
 #include <errno.h>
5
 #include <algorithm>
6
 #include <fstream.h> /* Portability fix: used to be <fstream> */
7
+#include <sys/types.h>
8
 #include <netinet/in.h>
9
 #include <sys/socket.h>
10
 #include <netdb.h>
(-)audio/gnump3d/pkg-plist (-6 / +18 lines)
Lines 1-31 Link Here
1
bin/gnump3d
1
bin/gnump3d
2
bin/gnump3d-config
2
bin/gnump3d-top
3
bin/gnump3d-top
3
etc/gnump3d/gnump3d.conf
4
etc/gnump3d/default/error.html
4
etc/gnump3d/default/error.html
5
etc/gnump3d/default/index.html
5
etc/gnump3d/default/index.html
6
etc/gnump3d/default/plugin.html
6
etc/gnump3d/default/results.html
7
etc/gnump3d/default/results.html
7
etc/gnump3d/default/search.html
8
etc/gnump3d/default/search.html
8
etc/gnump3d/default/stats.html
9
etc/gnump3d/default/stats.html
9
etc/gnump3d/default/style.css
10
etc/gnump3d/default/style.css
11
etc/gnump3d/gnump3d.conf
10
etc/gnump3d/nausicaa/error.html
12
etc/gnump3d/nausicaa/error.html
11
etc/gnump3d/nausicaa/index.html
13
etc/gnump3d/nausicaa/index.html
14
etc/gnump3d/nausicaa/plugin.html
12
etc/gnump3d/nausicaa/results.html
15
etc/gnump3d/nausicaa/results.html
13
etc/gnump3d/nausicaa/search.html
16
etc/gnump3d/nausicaa/search.html
14
etc/gnump3d/nausicaa/stats.html
17
etc/gnump3d/nausicaa/stats.html
18
etc/gnump3d/nausicaa/style.css
15
etc/gnump3d/simple/config.ini
19
etc/gnump3d/simple/config.ini
16
etc/gnump3d/simple/error.html
20
etc/gnump3d/simple/error.html
17
etc/gnump3d/simple/index.html
21
etc/gnump3d/simple/index.html
22
etc/gnump3d/simple/plugin.html
18
etc/gnump3d/simple/results.html
23
etc/gnump3d/simple/results.html
19
etc/gnump3d/simple/search.html
24
etc/gnump3d/simple/search.html
20
etc/gnump3d/simple/stats.html
25
etc/gnump3d/simple/stats.html
21
etc/gnump3d/split/config.ini
26
etc/gnump3d/split/config.ini
22
etc/gnump3d/split/error.html
27
etc/gnump3d/split/error.html
23
etc/gnump3d/split/index.html
28
etc/gnump3d/split/index.html
29
etc/gnump3d/split/plugin.html
24
etc/gnump3d/split/results.html
30
etc/gnump3d/split/results.html
25
etc/gnump3d/split/search.html
31
etc/gnump3d/split/search.html
26
etc/gnump3d/split/stats.html
32
etc/gnump3d/split/stats.html
27
@dirrm etc/gnump3d/split
33
lib/gnump3d/last20.la
28
@dirrm etc/gnump3d/simple
34
lib/gnump3d/last20.so
29
@dirrm etc/gnump3d/nausicaa
35
lib/gnump3d/search.la
30
@dirrm etc/gnump3d/default
36
lib/gnump3d/search.so
31
@dirrm etc/gnump3d
37
lib/gnump3d/stats.la
38
lib/gnump3d/stats.so
39
lib/gnump3d/theme.la
40
lib/gnump3d/theme.so
41
lib/gnump3d/version.la
42
lib/gnump3d/version.so
43
@dirrm lib/gnump3d

Return to bug 40620