1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/math/libranlib/Makefile
Satoshi Asami 96bc8048c3 Use bsd.port.{pre,post}.mk to move PORTOBJFORMAT to front, or change
shell loops to make loops.  Use EXTRA_PKG_FLAGS to add install scripts
instead of adding it to PKG_FLAGS after bsd.port.mk.
1998-11-14 09:43:39 +00:00

34 lines
768 B
Makefile

# New ports collection makefile for: ranlib
# Version required: ?
# Date created: 06 April 1997
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
# $Id: Makefile,v 1.3 1998/10/26 07:45:01 asami Exp $
#
DISTNAME= ranlib.c
PKGNAME= ranlib-1.0
CATEGORIES= math
MASTER_SITES= ftp://ftp.netlib.org/random/
MAINTAINER= tg@FreeBSD.ORG
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
@${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.post.mk>