mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
34 lines
755 B
Makefile
34 lines
755 B
Makefile
# New ports collection makefile for: ranlib
|
|
# Date created: 06 April 1997
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ranlib
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= math
|
|
MASTER_SITES= ftp://ftp.netlib.org/random/
|
|
DISTNAME= ranlib.c
|
|
|
|
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
|
|
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
.include <bsd.port.post.mk>
|