2001-10-28 08:05:44 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2001/10/28 13:05:47 espie Exp $
|
1998-12-10 19:20:44 -05:00
|
|
|
#
|
|
|
|
|
2001-05-05 21:27:52 -04:00
|
|
|
COMMENT= "Ericsson's high-level functional programming language"
|
|
|
|
|
2001-09-28 02:02:12 -04:00
|
|
|
VERSION= 47.4.0
|
|
|
|
DISTNAME= erlang-${VERSION}
|
1998-12-10 19:20:44 -05:00
|
|
|
CATEGORIES= lang
|
2001-05-05 21:27:52 -04:00
|
|
|
NEED_VERSION= 1.402
|
1998-12-10 19:20:44 -05:00
|
|
|
|
2000-03-16 21:07:28 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
1998-12-10 19:20:44 -05:00
|
|
|
MASTER_SITES= http://erlang.stacken.kth.se/download/ \
|
|
|
|
http://www.erlang.org/download/
|
|
|
|
EXTRACT_SUFX= .base.tar.gz
|
|
|
|
|
2000-02-22 12:08:31 -05:00
|
|
|
USE_GMAKE= Yes
|
2000-10-22 11:41:23 -04:00
|
|
|
CONFIGURE_STYLE= autoconf
|
2001-09-28 02:02:12 -04:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/erts-${VERSION}/autoconf
|
1998-12-10 19:20:44 -05:00
|
|
|
|
|
|
|
ALL_TARGET= emulator new_libraries
|
|
|
|
|
|
|
|
# Move the rest of erlang configuration into the port configure step,
|
|
|
|
# not the build step.
|
|
|
|
#
|
|
|
|
post-configure:
|
|
|
|
@cd ${WRKSRC}/erts-47.4.0/autoconf && \
|
|
|
|
${SETENV} ${AUTOCONF_ENV} ${AUTOCONF}
|
|
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} \
|
2000-02-22 12:08:31 -05:00
|
|
|
${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKE_FILE} autoconf )
|
1998-12-10 19:20:44 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|