blob: caaaa64f860e5d616e318dafc3b57295839bd715 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# New ports collection makefile for: opendylan
# Date created: 2007-12-15
# Whom: alepulver
#
# $FreeBSD$
#
PORTNAME= opendylan
DISTVERSION= 1.0beta4
CATEGORIES= lang
MASTER_SITES= http://www.opendylan.org/downloads/opendylan/${DISTVERSION}/
DISTNAME= ${PORTNAME}-${DISTVERSION}-x86-FreeBSD6
MAINTAINER= ports@FreeBSD.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= opendylan make-dylan-app
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700000
LIB_DEPENDS+= c.6:${PORTSDIR}/misc/compat6x
.endif
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}
.endif
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
.include <bsd.port.post.mk>
|