Makefile 861 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # $OpenBSD: Makefile,v 1.44 2016/03/11 19:59:14 naddy Exp $
  2. COMMENT = easy to use, graphical editor
  3. DISTNAME = cooledit-3.17.17
  4. REVISION = 2
  5. CATEGORIES = editors
  6. HOMEPAGE = ftp://ftp.ibiblio.org/pub/Linux/apps/editors/X/cooledit/
  7. SHARED_LIBS = Cw 1.0
  8. MAINTAINER = Marc Espie <espie@openbsd.org>
  9. FLAVORS = python
  10. FLAVOR ?=
  11. WANTLIB = X11 c util xcb
  12. MASTER_SITES = http://fossies.org/linux/misc/
  13. .if ${FLAVOR:Mpython}
  14. MODULES += lang/python
  15. LIB_DEPENDS += ${MODPY_LIB_DEPENDS}
  16. CONFIGURE_ENV += PYTHON_VER=${MODPY_VERSION} LOCALBASE=${LOCALBASE}
  17. WANTLIB += pthread m ${MODPY_WANTLIB}
  18. .else
  19. CONFIGURE_ENV +=NOPYTHON=Yes
  20. .endif
  21. MODULES += devel/gettext
  22. CONFIGURE_STYLE = gnu
  23. CONFIGURE_ENV += XTERM_CMD=xterm LDFLAGS="-L${LOCALBASE}/lib"
  24. CONFIGURE_ARGS += --enable-static --disable-mail-author
  25. # GPLv2+
  26. PERMIT_PACKAGE_CDROM = Yes
  27. .include <bsd.port.mk>