Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # $OpenBSD: Makefile,v 1.27 2016/03/27 20:53:15 naddy Exp $
  2. BROKEN-powerpc= does not build, error: lvalue required as increment operand
  3. COMMENT= Portable Forth Environment
  4. DISTNAME= pfe-0.33.71
  5. REVISION= 0
  6. CATEGORIES= lang
  7. SHARED_LIBS += pfe 33.71 # .33.71
  8. SHARED_LIBS += pfe-0-forth 33.71 # .33.71
  9. HOMEPAGE= http://pfe.sourceforge.net/
  10. # LGPLv2
  11. PERMIT_PACKAGE_CDROM= Yes
  12. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pfe/}
  13. EXTRACT_SUFX= .tar.bz2
  14. WANTLIB= c m ncurses
  15. CONFIGURE_STYLE= gnu
  16. CONFIGURE_ARGS= --mandir=${PREFIX}/man
  17. .if ${MACHINE_ARCH} == "i386"
  18. CONFIGURE_ARGS+=--with-regs
  19. .endif
  20. # this renames floating.so to libfloating.so before linking with it
  21. USE_LIBTOOL= gnu
  22. NO_TEST= Yes
  23. # XXX remove CVS Id (patch-pfe_Makefile_in)
  24. post-extract:
  25. perl -pi -e 's,^#.*Id: Makefile.am.*,,' ${WRKSRC}/pfe/Makefile.in
  26. post-install:
  27. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pfe/
  28. ${INSTALL_DATA} ${WRKDIST}/doc/Forthprimer.pdf \
  29. ${PREFIX}/share/doc/pfe/
  30. .include <bsd.port.mk>