ab947d365d
no PKGNAME bump needed from maintainer
120 lines
2.7 KiB
Makefile
120 lines
2.7 KiB
Makefile
# $OpenBSD: Makefile,v 1.20 2006/04/09 19:32:50 sturm Exp $
|
|
|
|
COMMENT= "real-time, concurrent and distributed functional language"
|
|
|
|
V= R10B-10
|
|
DISTNAME= otp_src_${V}
|
|
PKGNAME= erlang-10B_10
|
|
CATEGORIES= lang
|
|
|
|
MAINTAINER= Jon Olsson <jon@abc.se>
|
|
|
|
# Erlang Public License
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c crypto m ncurses pthread ssl
|
|
|
|
MASTER_SITES= http://www.erlang.org/download/
|
|
|
|
DISTFILES= ${DISTNAME}.tar.gz \
|
|
otp_doc_man_${V}.tar.gz \
|
|
otp_doc_html_${V}.tar.gz
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}.tar.gz
|
|
|
|
CONFIGURE_ARGS= --disable-jinterface \
|
|
--enable-threads \
|
|
--enable-kernel-poll
|
|
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE=autoconf
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/erts/autoconf \
|
|
${WRKSRC}/lib/erl_interface/src/auxdir
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
DOC_DIR= ${PREFIX}/lib/erlang
|
|
|
|
# retrieve most of the version list with something like
|
|
# find ${WRKSRC} -name 'vsn.mk' -exec \
|
|
# awk '/_VSN =/ { print $1"\t"$3" \\" }' {} \; | grep -v 'PRE'
|
|
ERL_VERSIONS= \
|
|
KERNEL_VSN 2.10.13 \
|
|
APPMON_VSN 2.1.5 \
|
|
ASN1_VSN 1.4.4.9 \
|
|
COMPILER_VSN 4.3.12 \
|
|
COSEVENT_VSN 2.1 \
|
|
COSEVENTDOMAIN_VSN 1.1 \
|
|
COSFILETRANSFER_V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UBST_VARS+=SYSTEM_VSN
|
|
|
|
# special cases
|
|
EI= erl_interface-${EI_VSN}
|
|
COSEVENT= cosEvent-${COSEVENT_VSN}
|
|
COSEVENTDOMAIN= cosEventDomain-${COSEVENTDOMAIN_VSN}
|
|
COSFILETRANSFER=cosFileTransfer-${COSFILETRANSFER_VSN}
|
|
COSNOTIFICATION=cosNotification-${COSNOTIFICATION_VSN}
|
|
COSPROPERTY= cosProperty-${COSPROPERTY_VSN}
|
|
COSTIME= cosTime-${COSTIME_VSN}
|
|
COSTRANSACTIONS=cosTransactions-${COSTRANSACTIONS_VSN}
|
|
|
|
post-configure:
|
|
@echo "No ODBC" > ${WRKSRC}/lib/odbc/SKIP
|
|
|
|
post-install:
|
|
tar zxf ${FULLDISTDIR}/otp_doc_man_${V}.tar.gz -C ${DOC_DIR}
|
|
tar zxf ${FULLDISTDIR}/otp_doc_html_${V}.tar.gz -C ${DOC_DIR}
|
|
rm -rf ${DOC_DIR}/lib/${JINTERFACE}
|
|
rm -rf ${DOC_DIR}/lib/${ODBC}
|
|
|
|
.include <bsd.port.mk>
|