freebsd-ports/lang/opendylan/Makefile
Michael Scheidell ceaf8c811f - Update 2011.1
- No longer needs /dev/proc
- Submitter agreed to become maintainer

PR:		ports/163211
Submitted by:	Hannes Mehnert <hannes@mehnert.org> (maintainer)
Approved by:	gabor (mentor)
2011-12-21 13:36:44 +00:00

47 lines
1.1 KiB
Makefile

# New ports collection makefile for: opendylan
# Date created: 2007-12-15
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= opendylan
DISTVERSION= 2011.1
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
IA32_BINARY_PORT= yes
USE_BZIP2= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
DATADIR= ${PREFIX}/lib/${PORTNAME}
WRAPPERS= dylan-compiler make-dylan-app dswank
.include <bsd.port.pre.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} ${DATADIR}
.for d in bin databases lib sources
${CP} -r ${WRKSRC}/${d} ${DATADIR}
.endfor
.for f in ${WRAPPERS}
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/License.txt ${DOCSDIR}
.endif
.include <bsd.port.post.mk>