aboutsummaryrefslogtreecommitdiff
path: root/security/mhash
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-12 14:40:38 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-12 14:40:38 +0000
commitf49f981849a6c151c3e3ea0971b09a1d3e0ba41b (patch)
treec1a648ce1891900f303d9e99f9c4fad673b331af /security/mhash
parent0ced111be8333f94b37d62d43c58e069c89bd1ac (diff)
- Switch to options helpers
- Switch to new testing framework
Notes
Notes: svn path=/head/; revision=401351
Diffstat (limited to 'security/mhash')
-rw-r--r--security/mhash/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/security/mhash/Makefile b/security/mhash/Makefile
index b10315d79d67..5220ed384c88 100644
--- a/security/mhash/Makefile
+++ b/security/mhash/Makefile
@@ -13,18 +13,18 @@ COMMENT= Easy-to-use library for strong hashes such as MD5 and SHA1
LICENSE= LGPL20 # or later
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= tar:bzip2 libtool
+USES= libtool tar:bzip2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-static --with-gnu-ld
+TEST_TARGET= check
PORTDOCS= example.c skid2-authentication
-test: build
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check
-
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmhash.so
+
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}