diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2019-05-13 22:26:27 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2019-05-13 22:26:27 +0800 |
commit | 17ec6378b3c9f3e537d948855e84770ae6da60e8 (patch) | |
tree | 736fa5bf036b8d19469d5205de9a29beb5a47323 /math/lrng/Makefile | |
parent | 56e93db2e2e3b82eb49220e45753da865a94ee2b (diff) | |
download | freebsd-ports-gnome-17ec6378b3c9f3e537d948855e84770ae6da60e8.tar.gz freebsd-ports-gnome-17ec6378b3c9f3e537d948855e84770ae6da60e8.tar.zst freebsd-ports-gnome-17ec6378b3c9f3e537d948855e84770ae6da60e8.zip |
- Switch to options helpers
- Switch to new test framework
Approved by: portmgr blanket
Diffstat (limited to 'math/lrng/Makefile')
-rw-r--r-- | math/lrng/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/math/lrng/Makefile b/math/lrng/Makefile index 6b8676f65df1..8ce982512bf8 100644 --- a/math/lrng/Makefile +++ b/math/lrng/Makefile @@ -70,16 +70,16 @@ post-extract: post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME} @${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/${PORTNAME} -.if ${PORT_OPTIONS:MDOCS} + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) -.endif -.if ${PORT_OPTIONS:MEXAMPLES} + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}; ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}) -.endif -check regression-test test: build +do-test: @${CC} ${CFLAGS} -o ${WRKSRC}/ex1 ${WRKSRC}/ex1.c ${WRKSRC}/lib${LIB}.a @${WRKSRC}/ex1 @${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/ex1s ${WRKSRC}/ex1.c -L${WRKSRC} -l${LIB} |