123456789101112131415161718192021222324252627282930313233343536 |
- # $OpenBSD: Makefile,v 1.6 2016/10/24 20:59:23 jca Exp $
- COMMENT = Debian Almquist shell, POSIX-compliant
- DISTNAME = dash-0.5.9.1
- 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>
|