1997-04-07 07:02:51 +00:00
|
|
|
# New ports collection makefile for: ranlib
|
|
|
|
# Version required: ?
|
|
|
|
# Date created: 06 April 1997
|
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
|
|
|
|
#
|
1998-10-26 07:45:01 +00:00
|
|
|
# $Id: Makefile,v 1.2 1997/04/23 06:57:54 tg Exp $
|
1997-04-07 07:02:51 +00:00
|
|
|
#
|
|
|
|
|
1997-04-23 06:58:03 +00:00
|
|
|
DISTNAME= ranlib.c
|
1997-04-07 07:02:51 +00:00
|
|
|
PKGNAME= ranlib-1.0
|
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ftp://ftp.netlib.org/random/
|
|
|
|
|
|
|
|
MAINTAINER= tg@FreeBSD.ORG
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
|
|
|
|
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
|
1998-10-26 07:45:01 +00:00
|
|
|
if [ "${PORTOBJFORMAT}" = "aout" ]; then \
|
|
|
|
${LN} -sf libranlib.so.1.0 ${PREFIX}/lib/libranlib.so; \
|
|
|
|
fi
|
1997-04-07 07:02:51 +00:00
|
|
|
@${LDCONFIG} -m ${PREFIX}/lib
|
1997-04-23 06:58:03 +00:00
|
|
|
|
1997-04-07 07:02:51 +00:00
|
|
|
.include <bsd.port.mk>
|