aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-19 16:23:58 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-19 16:23:58 +0800
commit9afee8dd7da8865439d0c8a0f63021b38d0e23ed (patch)
tree0fc667ff2746d04c4411fa67c0ee0c4d3046e3d0
parent1e86c544df6f1a57a52735a8dcb9df9d23516d73 (diff)
downloadfreebsd-ports-gnome-9afee8dd7da8865439d0c8a0f63021b38d0e23ed.tar.gz
freebsd-ports-gnome-9afee8dd7da8865439d0c8a0f63021b38d0e23ed.tar.zst
freebsd-ports-gnome-9afee8dd7da8865439d0c8a0f63021b38d0e23ed.zip
Stagify.
Approved by: portmgr@
-rw-r--r--math/ntl/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/math/ntl/Makefile b/math/ntl/Makefile
index 3967240fae42..150f2911d664 100644
--- a/math/ntl/Makefile
+++ b/math/ntl/Makefile
@@ -11,7 +11,7 @@ COMMENT= Victor Shoup's Number Theory Library
# ntl is faster with libgmp4, but you can disable it
.if !defined(WITHOUT_GMP)
-LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
+LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
CONFIGURE_ARGS= NTL_GMP_LIP=on
.endif
@@ -30,16 +30,15 @@ CFLAGS+= -fPIC
WRKSRC= ${WRKDIR}/${DISTNAME}/src
MAKEFILE= makefile
-NO_STAGE= yes
do-install:
- ${MKDIR} ${PREFIX}/include/NTL
- ${INSTALL_DATA} ${WRKSRC}/../include/NTL/* ${PREFIX}/include/NTL/
- ${INSTALL_DATA} ${WRKSRC}/ntl.a ${PREFIX}/lib/libntl.a
+ ${MKDIR} ${STAGEDIR}${PREFIX}/include/NTL
+ ${INSTALL_DATA} ${WRKSRC}/../include/NTL/* ${STAGEDIR}${PREFIX}/include/NTL/
+ ${INSTALL_DATA} ${WRKSRC}/ntl.a ${STAGEDIR}${PREFIX}/lib/libntl.a
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/../doc/* ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/../doc/* ${STAGEDIR}${DOCSDIR}
.endif
test: build