aboutsummaryrefslogtreecommitdiff
path: root/devel/freelibiberty/Makefile
blob: f7d3a45d5d2522c46687df82be81057d6d4adc0c (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
29
30
31
# New ports collection makefile for: free-libiberty
# Date created: 	30 October 1999
# Whom:			James Howard <ports@vocito.com>
#
# $FreeBSD$
#

PORTNAME=	freelibiberty
PORTVERSION=	0.2
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	http://www.vocito.com/downloads/software/libiberty/ \
		ftp://ftp.vocito.com/pub/vocito.com/software/libiberty/
DISTNAME=	libiberty-${PORTVERSION}

MAINTAINER=	ports@vocito.com
COMMENT=	A freely-redistributable libiberty clone

CONFLICTS=	gnulibiberty-*

INSTALLS_SHLIB=	yes

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
	${MKDIR} ${PREFIX}/include/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/libiberty.h ${PREFIX}/include/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/getopt.h ${PREFIX}/include/${PORTNAME}

.include <bsd.port.mk>