summaryrefslogtreecommitdiff
path: root/devel/cmdline/Makefile
blob: cfbe3c808f9c3e3b3408956d707e5b47c55c849e (plain)
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
# $NetBSD: Makefile,v 1.12 2004/04/24 22:46:09 jlam Exp $

DISTNAME=	CmdLine
PKGNAME=	cmdline-${PKG_VERS}
DIST_VERS=	1.04
PKG_VERS=	1.05nb1
CATEGORIES=	devel
MASTER_SITES=	http://www.enteract.com/~bradapp/ftp/src/libs/C++/

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://www.enteract.com/~bradapp/ftp/src/libs/C++/CmdLine.html
COMMENT=	C++ library for parsing command arguments

DIST_SUBDIR=	cmdline-${DIST_VERS}

USE_BUILDLINK2=		# defined
USE_LIBTOOL=		# defined

MOREUSRDEFS=	-I${BUILDLINK_PREFIX.readline}/include/readline
MOREUSRDEFS+=	-I${BUILDLINK_PREFIX.readline}/include/readline/readline
MOREUSRLIBS=	-L${BUILDLINK_PREFIX.readline}/lib -lreadline -ltermcap

MAKE_ENV+=	OPT="${CXXFLAGS}"
MAKE_ENV+=	MOREUSRDEFS="${MOREUSRDEFS}"
MAKE_ENV+=	MOREUSRLIBS="${MOREUSRLIBS}"

.include "../../devel/readline/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"