summaryrefslogtreecommitdiff
path: root/devel/cmdline/Makefile
blob: 80d1bc511e85e0c5fd5a4d0bf073d47ed5733c67 (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
29
30
# $NetBSD: Makefile,v 1.5 2001/05/24 08:53:55 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=	jlam@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_LIBTOOL=	# defined
NO_CONFIGURE=	# defined

.include "../../devel/readline/buildlink.mk"

MOREUSRDEFS=	-I${BUILDLINK_INCDIR}/readline
MOREUSRLIBS=	-L${BUILDLINK_LIBDIR} -lreadline -ltermcap

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

pre-build: ${BUILDLINK_TARGETS}

.include "../../mk/bsd.pkg.mk"