1997-04-07 03:02:51 -04:00
|
|
|
# New ports collection makefile for: ranlib
|
|
|
|
# Date created: 06 April 1997
|
1999-08-31 02:53:31 -04:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1997-04-07 03:02:51 -04:00
|
|
|
#
|
1999-08-25 03:23:21 -04:00
|
|
|
# $FreeBSD$
|
1997-04-07 03:02:51 -04:00
|
|
|
#
|
|
|
|
|
2000-04-14 03:20:58 -04:00
|
|
|
PORTNAME= ranlib
|
|
|
|
PORTVERSION= 1.0
|
1997-04-07 03:02:51 -04:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ftp://ftp.netlib.org/random/
|
2000-04-14 03:20:58 -04:00
|
|
|
DISTNAME= ranlib.c
|
1997-04-07 03:02:51 -04:00
|
|
|
|
1999-08-31 02:53:31 -04:00
|
|
|
MAINTAINER= tg@FreeBSD.org
|
1997-04-07 03:02:51 -04:00
|
|
|
|
2000-06-16 17:52:40 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-06-07 04:40:09 -04:00
|
|
|
MAKE_ENV= NOPROFILE=true
|
1997-04-07 03:02:51 -04:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
|
1998-11-14 04:43:39 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1997-04-07 03:02:51 -04:00
|
|
|
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-11-14 04:43:39 -05:00
|
|
|
.if ${PORTOBJFORMAT} == "aout"
|
|
|
|
${LN} -sf libranlib.so.1.0 ${PREFIX}/lib/libranlib.so
|
|
|
|
.endif
|
1997-04-23 02:58:03 -04:00
|
|
|
|
1998-11-14 04:43:39 -05:00
|
|
|
.include <bsd.port.post.mk>
|