1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/math/randlib/Makefile

36 lines
790 B
Makefile
Raw Normal View History

# New ports collection makefile for: ranlib
# Date created: 06 April 1997
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
1999-08-25 07:23:21 +00:00
# $FreeBSD$
#
2000-04-14 07:20:58 +00:00
PORTNAME= ranlib
PORTVERSION= 1.0
CATEGORIES= math
MASTER_SITES= ftp://ftp.netlib.org/random/
2000-04-14 07:20:58 +00:00
DISTNAME= ranlib.c
MAINTAINER= tg@FreeBSD.org
COMMENT= Library of Routines for Random Number Generation
INSTALLS_SHLIB= yes
2000-06-07 08:40:09 +00:00
MAKE_ENV= NOPROFILE=true
WRKSRC= ${WRKDIR}/${DISTNAME}/src
.include <bsd.port.pre.mk>
post-extract:
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/ranlib
@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/* ${PREFIX}/share/doc/ranlib
.endif
.if ${PORTOBJFORMAT} == "aout"
${LN} -sf libranlib.so.1.0 ${PREFIX}/lib/libranlib.so
.endif
.include <bsd.port.post.mk>