aboutsummaryrefslogtreecommitdiff
path: root/devel/libgnugetopt/Makefile
blob: 8e2cc491ff263d57687a0e70970f1845221bf8ae (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
# ex:ts=8
# New ports collection makefile for:	libgnugetopt
# Date created:				2 May 1999
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

#	Note that GCC contains the master copy of GNU's getopt in libiberty/
#	and include/.  The next time this port is updated, it should use
#	the latest GCC release (the smaller -core dist is fine) for the
#	distfile.	-- David O'Brien <obrien@FreeBSD.org>

PORTNAME=	libgnugetopt
PORTVERSION=	1.1
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	obrien

MAINTAINER=	ports@FreeBSD.org

INSTALLS_SHLIB=	yes

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

.include <bsd.port.mk>