2013-01-02 23:29:56 +01:00
|
|
|
# Created by: alepulver
|
2007-12-17 19:24:15 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= opendylan
|
2013-12-22 21:23:12 +01:00
|
|
|
DISTVERSION= 2013.2
|
2007-12-17 19:24:15 +01:00
|
|
|
CATEGORIES= lang
|
2011-12-21 14:36:44 +01:00
|
|
|
MASTER_SITES= http://opendylan.org/downloads/opendylan/${DISTVERSION}/
|
2013-01-02 23:29:56 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${DISTVERSION}-x86-freebsd
|
2007-12-17 19:24:15 +01:00
|
|
|
|
2011-12-21 14:36:44 +01:00
|
|
|
MAINTAINER= hannes@mehnert.org
|
2007-12-17 19:24:15 +01:00
|
|
|
COMMENT= Open Dylan project native command-line compiler for Dylan
|
|
|
|
|
2013-12-22 21:23:12 +01:00
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/License.txt
|
|
|
|
|
2007-12-17 19:24:15 +01:00
|
|
|
IA32_BINARY_PORT= yes
|
2015-08-26 21:37:57 +02:00
|
|
|
USES= tar:bzip2
|
2007-12-17 19:24:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
|
|
|
DATADIR= ${PREFIX}/lib/${PORTNAME}
|
|
|
|
|
2013-01-02 23:29:56 +01:00
|
|
|
WRAPPERS= dylan-compiler make-dylan-app dswank parser-compiler
|
2007-12-17 19:24:15 +01:00
|
|
|
|
2013-12-22 21:23:12 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2007-12-17 19:24:15 +01:00
|
|
|
do-build:
|
|
|
|
.for f in ${WRAPPERS}
|
|
|
|
@(${ECHO_CMD} "#!${SH}"; \
|
|
|
|
${ECHO_CMD} 'export LD_LIBRARY_PATH="${DATADIR}/lib"'; \
|
|
|
|
${ECHO_CMD} 'exec ${DATADIR}/bin/${f} "$$@"') > ${WRKSRC}/${f}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-install:
|
2013-12-22 21:23:12 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
2007-12-17 19:24:15 +01:00
|
|
|
.for d in bin databases lib sources
|
2013-12-22 21:23:12 +01:00
|
|
|
${CP} -r ${WRKSRC}/${d} ${STAGEDIR}${DATADIR}
|
2007-12-17 19:24:15 +01:00
|
|
|
.endfor
|
|
|
|
.for f in ${WRAPPERS}
|
2013-12-22 21:23:12 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
|
2007-12-17 19:24:15 +01:00
|
|
|
.endfor
|
2015-08-26 21:37:57 +02:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2013-12-22 21:23:12 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
2007-12-17 19:24:15 +01:00
|
|
|
|
2013-01-02 23:29:56 +01:00
|
|
|
.include <bsd.port.mk>
|