blob: c83d17add123115ee1500247e0dc0a6b627c8f1b (
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
31
32
|
# $NetBSD: Makefile,v 1.3 2001/02/16 14:38:20 wiz 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
.if exists(/usr/include/readline.h)
MOREUSRDEFS+= -DHAVE_READLINE_H
MOREUSRLIBS+= -ledit -ltermcap
.else
DEPENDS+= readline-*:../../devel/readline
MOREUSRDEFS+= -DHAVE_READLINE_READLINE_H
MOREUSRLIBS+= ${LDFLAGS} -lreadline -ltermcap
.endif
MAKE_ENV+= OPT="${CXXFLAGS}"
MAKE_ENV+= MOREUSRDEFS="${MOREUSRDEFS}"
MAKE_ENV+= MOREUSRLIBS="${MOREUSRLIBS}"
.include "../../mk/bsd.pkg.mk"
|