aboutsummaryrefslogtreecommitdiffstats
path: root/math/miracl
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-10-09 19:40:44 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-10-09 19:40:44 +0800
commit67f8efb6fde1cf3eec33344e4e285048d90ae488 (patch)
treec8e279ccd128686ec8f45b4459a069f74b055349 /math/miracl
parent69f035031e80449af0081cbd201ec424d127acfa (diff)
downloadfreebsd-ports-gnome-67f8efb6fde1cf3eec33344e4e285048d90ae488.tar.gz
freebsd-ports-gnome-67f8efb6fde1cf3eec33344e4e285048d90ae488.tar.zst
freebsd-ports-gnome-67f8efb6fde1cf3eec33344e4e285048d90ae488.zip
- Convert to staging
- Remove bsd.port.pre.mk usage
Diffstat (limited to 'math/miracl')
-rw-r--r--math/miracl/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/math/miracl/Makefile b/math/miracl/Makefile
index aed326bc6a8c..eb28e132d4be 100644
--- a/math/miracl/Makefile
+++ b/math/miracl/Makefile
@@ -19,14 +19,13 @@ LICENSE_TEXT_COMMERCIAL= License available from CertiVox for commercial use and
LICENSE_TEXT_COMMERCIAL+= to not be bound by the terms of the AGPLv3. Visit
LICENSE_TEXT_COMMERCIAL+= http://certivox.com/index.php/solutions/miracl-crypto-sdk/
LICENSE_TEXT_COMMERCIAL+= for more details.
-LICENSE_FILE= ${FILESDIR}/LICENSE
+LICENSE_FILE= ${FILESDIR}/LICENSE
LICENSE_PERMS_COMMERCIAL= dist-mirror dist-sell pkg-mirror pkg-sell no-auto-accept
ONLY_FOR_ARCHS= i386 amd64
USE_ZIP= yes
USE_LDCONFIG= yes
-NO_STAGE= yes
EXTRACT_BEFORE_ARGS= -j -aa -L -q
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
@@ -34,7 +33,7 @@ EXTRACT_AFTER_ARGS= -d ${WRKSRC}
PLIST_FILES= lib/libmiracl.a \
include/miracl.h include/mirdef.h
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${ARCH} == "i386"
BUILDCMD= linux
@@ -71,11 +70,11 @@ do-build:
do-install:
# lib
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.a \
- ${PREFIX}/lib/lib${PORTNAME}.a
+ ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.a
# headers
@${INSTALL_DATA} ${WRKSRC}/miracl.h \
- ${PREFIX}/include/miracl.h
+ ${STAGEDIR}${PREFIX}/include/miracl.h
@${INSTALL_DATA} ${WRKSRC}/mirdef.h \
- ${PREFIX}/include/mirdef.h
+ ${STAGEDIR}${PREFIX}/include/mirdef.h
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>