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

(-)math/GiNaC/Makefile (-17 / +12 lines)
Lines 7-14 Link Here
7
#
7
#
8
8
9
PORTNAME=	GiNaC
9
PORTNAME=	GiNaC
10
PORTVERSION=	1.1.0
10
PORTVERSION=	1.1.3
11
PORTREVISION=	0
12
CATEGORIES=	math
11
CATEGORIES=	math
13
MASTER_SITES=	ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ \
12
MASTER_SITES=	ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ \
14
		http://www.ginac.de/
13
		http://www.ginac.de/
Lines 18-51 Link Here
18
17
19
LIB_DEPENDS=	cln.2:${PORTSDIR}/math/cln
18
LIB_DEPENDS=	cln.2:${PORTSDIR}/math/cln
20
19
21
USE_REINPLACE=	yes
22
USE_BZIP2=	yes
20
USE_BZIP2=	yes
23
USE_GCC=	3.2
24
USE_GMAKE=	yes
21
USE_GMAKE=	yes
25
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
26
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
23
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
27
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
24
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
28
		LDFLAGS="-L${LOCALBASE}/lib" \
29
		MAKEINFO="makeinfo --no-split"
25
		MAKEINFO="makeinfo --no-split"
30
INSTALLS_SHLIB=	yes
26
INSTALLS_SHLIB=	yes
31
27
32
MAN1=	ginac-config.1 ginsh.1 viewgar.1
28
MAN1=	ginac-config.1 ginsh.1 viewgar.1
29
INFO=	ginac
30
31
CPPFLAGS=	-I${LOCALBASE}/include
32
LDFLAGS=	-L${LOCALBASE}/lib
33
33
34
.include <bsd.port.pre.mk>
34
.include <bsd.port.pre.mk>
35
35
36
.if ${OSVERSION} < 500000
36
.if ${OSVERSION} < 500035
37
IGNORE=	"needs gcc32 and cln must be built with gcc32"
37
BUILD_DEPENDS+=	${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
38
RUN_DEPENDS+=	${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
39
CPPFLAGS+=	-I${LOCALBASE}/include/stlport ${PTHREAD_CFLAGS}
40
LDFLAGS+=	-lstlport_gcc ${PTHREAD_LIBS}
38
.endif
41
.endif
39
42
40
post-extract:
43
post-extract:
41
	@${RM} -f ${WRKSRC}/doc/tutorial/ginac.info*
44
	@${RM} -f ${WRKSRC}/doc/tutorial/ginac.info*
42
43
post-patch:
44
.for file in configure ginac/numeric.cpp ginac/tostring.h
45
	@${REINPLACE_CMD} -e 's|sstream|strstream|g ; \
46
		 s|stringstream|strstream|g' ${WRKSRC}/${file}
47
.endfor
48
	@${REINPLACE_CMD} -e 's|-release \$$(LT_RELEASE)||g' \
49
		${WRKSRC}/ginac/Makefile.in
50
45
51
.include <bsd.port.post.mk>
46
.include <bsd.port.post.mk>
(-)math/GiNaC/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (GiNaC-1.1.0.tar.bz2) = 30c86d96a9d9d689ff0981409b038906
1
MD5 (GiNaC-1.1.3.tar.bz2) = 4b3b5ea4ac9650d6bcd4708e43a3a532
(-)math/GiNaC/pkg-plist (-4 / +3 lines)
Lines 17-22 Link Here
17
include/ginac/flags.h
17
include/ginac/flags.h
18
include/ginac/function.h
18
include/ginac/function.h
19
include/ginac/ginac.h
19
include/ginac/ginac.h
20
include/ginac/hash_map.h
20
include/ginac/idx.h
21
include/ginac/idx.h
21
include/ginac/indexed.h
22
include/ginac/indexed.h
22
include/ginac/inifcns.h
23
include/ginac/inifcns.h
Lines 39-49 Link Here
39
include/ginac/tinfos.h
40
include/ginac/tinfos.h
40
include/ginac/version.h
41
include/ginac/version.h
41
include/ginac/wildcard.h
42
include/ginac/wildcard.h
42
@unexec install-info --delete %D/info/ginac.info %D/info/dir
43
info/ginac.info
44
@exec install-info %D/info/ginac.info %D/info/dir
45
lib/libginac.a
43
lib/libginac.a
46
lib/libginac.so
44
lib/libginac.so
47
lib/libginac.so.0
45
lib/libginac-1.1.so
46
lib/libginac-1.1.so.3
48
share/aclocal/ginac.m4
47
share/aclocal/ginac.m4
49
@dirrm include/ginac
48
@dirrm include/ginac

Return to bug 57842