blob: 651f511c5d399663b3d45be15f157e613b3054ee (
plain)
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
|
# $NetBSD: Makefile,v 1.3 2005/12/05 20:50:24 rillig Exp $
DISTNAME= se
PKGNAME= SmartEiffel-2.0
CATEGORIES= lang
MASTER_SITES= ftp://ftp.loria.fr/pub/loria/SmartEiffel/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= lars.nordlund@hem.utfors.se
HOMEPAGE= http://smarteiffel.loria.fr/
COMMENT= The GNU Eiffel Compiler
WRKSRC= ${WRKDIR}/SmartEiffel
DIST_SUBDIR= ${PKGNAME_NOREV}
MAKE_ENV+= SmartEiffel=${WRKSRC:Q}/sys/system.se
# This package relies heavily on GCC.
ONLY_FOR_COMPILER= gcc
post-patch:
${SED} "s:XXXWORKDIRXXX:${WRKDIR}:g" ${FILESDIR}/system.se \
> ${WRKSRC}/sys/system.se
post-build:
${MV} -f ${WRKSRC}/sys/system.se ${WRKSRC}/sys/system.se.bak
${SED} "s:${WRKDIR}:${LOCALBASE}:g" ${WRKSRC}/sys/system.se.bak > \
${WRKSRC}/sys/system.se
${RM} -f ${WRKSRC}/sys/system.se.bak
${RM} -f ${WRKSRC}/sys/system.se~
do-install:
${CP} -r ${WRKSRC} ${PREFIX}
.include "../../mk/bsd.pkg.mk"
|