Makefile 803 B

123456789101112131415161718192021222324252627282930313233343536
  1. # $OpenBSD: Makefile,v 1.6 2016/10/24 20:59:23 jca Exp $
  2. COMMENT = Debian Almquist shell, POSIX-compliant
  3. DISTNAME = dash-0.5.9.1
  4. CATEGORIES = shells
  5. HOMEPAGE = http://gondor.apana.org.au/~herbert/dash/
  6. MAINTAINER = Jeremie Courreges-Anglas <jca@wxcvbn.org>
  7. # 3-clause BSD
  8. # (source contains GPLv2 tool used during build only, see COPYING)
  9. PERMIT_PACKAGE_CDROM = Yes
  10. WANTLIB = c curses edit
  11. MASTER_SITES = ${HOMEPAGE:=files/}
  12. SEPARATE_BUILD = flavored
  13. USE_GMAKE = Yes
  14. CONFIGURE_STYLE = gnu
  15. CONFIGURE_ARGS = --enable-fnmatch --enable-glob --with-libedit
  16. CONFIGURE_ENV += LIBS="-ledit -lcurses"
  17. FLAVORS = static
  18. FLAVOR ?=
  19. .if ${FLAVOR:Mstatic}
  20. # --enable-static will fail because it also brings --Wl,--fatal-warnings
  21. CONFIGURE_ENV += LDFLAGS="${STATIC}"
  22. .endif
  23. .include <bsd.port.mk>