summaryrefslogtreecommitdiff
path: root/math/cln/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-31 09:36:03 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-31 09:36:03 +0000
commitd75ba83d1e6867290bb0aa676b932bad2a4c950f (patch)
treea99b5588b58d45b628c0dda30901078437584131 /math/cln/Makefile
parentadd xmlsec 0.0.7 (diff)
upgrade to 1.1.5
PR: 41172 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=63783
Diffstat (limited to 'math/cln/Makefile')
-rw-r--r--math/cln/Makefile27
1 files changed, 17 insertions, 10 deletions
diff --git a/math/cln/Makefile b/math/cln/Makefile
index 371c16567e68..78a88fa1e91b 100644
--- a/math/cln/Makefile
+++ b/math/cln/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= cln
-PORTVERSION= 1.1.4
-PORTREVISION= 1
+PORTVERSION= 1.1.5
CATEGORIES= math devel
MASTER_SITES= ftp://ftp.ilog.fr/pub/Users/haible/gnu/ \
ftp://ftp.santafe.edu/pub/gnu/ \
@@ -18,19 +17,27 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
-USE_LIBTOOL= yes
-CFLAGS+= -I${LOCALBASE}/include
-CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS= --datadir=${PREFIX}/share/cln --infodir=${PREFIX}/info \
- --mandir=${PREFIX}/man --with-gmp
+STRIP= # none
USE_GMAKE= yes
+USE_LIBTOOL= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --infodir=${PREFIX}/info --mandir=${PREFIX}/man \
+ --with-gmp
+MAKE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
MAN1= cln-config.1
-pre-build:
- @(cd ${WRKSRC} ; ${LN} -sf ${LOCALBASE}/bin/libtool .)
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}/dvi
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.dvi ${DOCSDIR}/dvi
+ @${MKDIR} ${DOCSDIR}/html
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/html
+.endif
.include <bsd.port.mk>