Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # $OpenBSD: Makefile,v 1.77 2016/09/13 15:29:01 naddy Exp $
  2. COMMENT= X11/Motif GUI text editor
  3. DISTNAME= nedit-5.5
  4. P_V= 0.5
  5. REVISION= 22
  6. EPOCH= 0
  7. DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX} \
  8. nedit_patterns-${P_V}.tgz:0
  9. PATCHFILES= wrapmark.diff:0
  10. CATEGORIES= editors x11
  11. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nedit/}
  12. MASTER_SITES0= http://distfiles.nl/
  13. DIST_SUBDIR= nedit
  14. # GPLv2
  15. PERMIT_PACKAGE_CDROM= Yes
  16. WANTLIB += ICE SM X11 Xau Xdmcp Xext Xft Xmu Xpm Xrender Xt
  17. WANTLIB += c expat fontconfig freetype iconv m z Xm
  18. LIB_DEPENDS+= converters/libiconv \
  19. x11/motif
  20. ALL_TARGET= openbsd
  21. NO_TEST= Yes
  22. CFLAGS+= -DBUILD_UNTESTED_NEDIT
  23. MAKE_ENV+=MOTIFLIB='-L${LOCALBASE}/lib -lXm'
  24. do-install:
  25. ${INSTALL_PROGRAM} ${WRKBUILD}/source/nedit ${PREFIX}/bin
  26. ${INSTALL_PROGRAM} ${WRKBUILD}/source/nc ${PREFIX}/bin/ncl
  27. ${INSTALL_MAN} ${WRKSRC}/doc/nedit.man ${PREFIX}/man/man1/nedit.1
  28. ${INSTALL_MAN} ${WRKSRC}/doc/nc.man ${PREFIX}/man/man1/ncl.1
  29. ${INSTALL_DATA} ${WRKSRC}/doc/NEdit.ad \
  30. ${PREFIX}/lib/X11/app-defaults/NEdit
  31. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nedit
  32. ${INSTALL_DATA} ${WRKSRC}/doc/nedit.doc ${PREFIX}/share/doc/nedit
  33. ${INSTALL_DATA_DIR} ${PREFIX}/share/nedit/patterns
  34. ${INSTALL_DATA} ${WRKDIR}/nedit_patterns-${P_V}/*.pats \
  35. ${PREFIX}/share/nedit/patterns/
  36. .include <bsd.port.mk>