1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/lang/opendylan/Makefile
Antoine Brodin 38358e7bf6 - Update to 2013.2
- Add LICENSE
- Stage support

PR:		ports/185087
Submitted by:	Hannes Mehnert (maitainer)
2013-12-22 20:23:12 +00:00

48 lines
1.1 KiB
Makefile

# Created by: alepulver
# $FreeBSD$
PORTNAME= opendylan
DISTVERSION= 2013.2
CATEGORIES= lang
MASTER_SITES= http://opendylan.org/downloads/opendylan/${DISTVERSION}/
DISTNAME= ${PORTNAME}-${DISTVERSION}-x86-freebsd
MAINTAINER= hannes@mehnert.org
COMMENT= Open Dylan project native command-line compiler for Dylan
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/License.txt
IA32_BINARY_PORT= yes
USE_BZIP2= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
DATADIR= ${PREFIX}/lib/${PORTNAME}
WRAPPERS= dylan-compiler make-dylan-app dswank parser-compiler
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
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:
@${MKDIR} ${STAGEDIR}${DATADIR}
.for d in bin databases lib sources
${CP} -r ${WRKSRC}/${d} ${STAGEDIR}${DATADIR}
.endfor
.for f in ${WRAPPERS}
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>