36 lines
799 B
Makefile
36 lines
799 B
Makefile
# $OpenBSD: Makefile,v 1.3 2014/10/06 21:41:41 jca Exp $
|
|
|
|
COMMENT = Debian Almquist shell, POSIX-compliant
|
|
|
|
DISTNAME = dash-0.5.8
|
|
CATEGORIES = shells
|
|
|
|
HOMEPAGE = http://gondor.apana.org.au/~herbert/dash/
|
|
|
|
MAINTAINER = Jeremie Courreges-Anglas <jca@wxcvbn.org>
|
|
|
|
# 3-clause BSD
|
|
# (source contains GPLv2 tool used during build only, see COPYING)
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB = c curses edit
|
|
|
|
MASTER_SITES = ${HOMEPAGE:=files/}
|
|
|
|
SEPARATE_BUILD = flavored
|
|
USE_GMAKE = Yes
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS = --enable-fnmatch --enable-glob --with-libedit
|
|
CONFIGURE_ENV += LIBS="-ledit -lcurses"
|
|
|
|
FLAVORS = static
|
|
FLAVOR ?=
|
|
|
|
.if ${FLAVOR:Mstatic}
|
|
# --enable-static will fail because it also brings --Wl,--fatal-warnings
|
|
CONFIGURE_ENV += LDFLAGS="-static"
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|