50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.30 2019/07/12 20:47:22 sthen Exp $
|
|
|
|
BROKEN-powerpc= does not build, error: lvalue required as increment operand
|
|
|
|
COMMENT= Portable Forth Environment
|
|
|
|
DISTNAME= pfe-0.33.71
|
|
REVISION= 2
|
|
CATEGORIES= lang
|
|
|
|
SHARED_LIBS += pfe 33.71 # .33.71
|
|
SHARED_LIBS += pfe-0-forth 33.71 # .33.71
|
|
|
|
HOMEPAGE= http://pfe.sourceforge.net/
|
|
|
|
# LGPLv2
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB= c m curses
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pfe/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= --mandir=${PREFIX}/man
|
|
|
|
# this renames floating.so to libfloating.so before linking with it
|
|
USE_LIBTOOL= gnu
|
|
|
|
# requires gmake
|
|
NO_TEST= Yes
|
|
|
|
.include <bsd.port.arch.mk>
|
|
|
|
# global register variables
|
|
.if ${PROPERTIES:Mclang}
|
|
CONFIGURE_ARGS+= --without-regs
|
|
.endif
|
|
|
|
# XXX remove CVS Id (patch-pfe_Makefile_in)
|
|
post-extract:
|
|
perl -pi -e 's,^#.*Id: Makefile.am.*,,' ${WRKSRC}/pfe/Makefile.in
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pfe/
|
|
${INSTALL_DATA} ${WRKDIST}/doc/Forthprimer.pdf \
|
|
${PREFIX}/share/doc/pfe/
|
|
|
|
.include <bsd.port.mk>
|