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> |