7990f81066
After a discussion on the mailing list on moving manpages to ${PREFIX}/share/man for consistency with base where it is installed in usr/share/man, it appeared the same should happen to GNU info files which were installed under share in base and not in ports. Now texinfo is not in base on any of the supported version of FreeBSD it is possible to proceed to this move and it is easier to do than the manpage change. Other benefit than consistency are less patching: all build tools but cmake are expecting info files to be under share/info and cmake (patched here) was having an exception for BSD so the patch makes FreeBSD case less specific for them Bump revision of all impacted ports PR: 232907 exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D17816
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# Created by: bf <bf@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libranlip
|
|
DISTVERSION= 1.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= math
|
|
MASTER_SITES= LOCAL/bf \
|
|
http://www.deakin.edu.au/~gleb/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Random variate generator for Lipschitz-continuous densities
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= libtool
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
INFO= ranlip
|
|
PLIST_FILES= include/ranlip.h include/ranlipdist.h include/ranlipproc.h lib/libranlip.so.1.0.0 \
|
|
lib/libranlip.so.1 lib/libranlip.so lib/libranlip.a
|
|
PORTDOCS= ranlip.ps
|
|
PORTEXAMPLES= makefile ranliptest.cpp ranliptestproc.cpp
|
|
TESTPROGS= static_example static_example2 static_example3 shared_example
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libranlip.so
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/ranlip.ps ${STAGEDIR}${DOCSDIR}
|
|
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
.for _file in ${PORTEXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/${_file} ${STAGEDIR}${EXAMPLESDIR}
|
|
.endfor
|
|
|
|
do-test:
|
|
@(cd ${WRKSRC}/examples && ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} all)
|
|
.for _prog in ${TESTPROGS}
|
|
(cd ${WRKSRC}/examples && ${SETENV} LD_LIBRARY_PATH="${STAGEDIR}${PREFIX}/lib" ./${_prog})
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|