summaryrefslogtreecommitdiff
path: root/devel/freelibiberty/Makefile
blob: bc57fb19f9ed58407e969dbd9e4f25db6c0771b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# New ports collection makefile for: free-libiberty
# Date created: 	30 October 1999
# Whom:			James Howard <howardjp@wam.umd.edu>
#
# $FreeBSD$
#

PORTNAME=	freelibiberty
PORTVERSION=	0.2
CATEGORIES=	devel
MASTER_SITES=	ftp://ftp.wam.umd.edu/pub/howardjp/software/libiberty/ \
		http://www.wam.umd.edu/~howardjp/software/libiberty/ \
		ftp://dragon.ham.muohio.edu/pub/howardjp/software/libiberty/
DISTNAME=	libiberty-${PORTVERSION}

MAINTAINER=	howardjp@wam.umd.edu

do-install:
	${INSTALL_DATA} ${WRKSRC}/libiberty.a ${PREFIX}/lib
	${INSTALL_DATA} ${WRKSRC}/libiberty.so.1 ${PREFIX}/lib
	${LN} -sf ${PREFIX}/lib/libiberty.so.1 ${PREFIX}/lib/libiberty.so
	${INSTALL_DATA} ${WRKSRC}/libiberty.h ${PREFIX}/include
	${INSTALL_DATA} ${WRKSRC}/getopt.h ${PREFIX}/include

post-install:
	@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.mk>