summaryrefslogtreecommitdiff
path: root/devel/gobo-eiffel/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>1999-10-14 02:11:31 +0000
committerjlam <jlam@pkgsrc.org>1999-10-14 02:11:31 +0000
commit4b69f58bc2854c2547dddaf0ec88c8e5450e87da (patch)
tree5ceb557e498c858fcffdc484c0bfd7e84396784b /devel/gobo-eiffel/Makefile
parent84b8c7169cbd1b3225705f8586a6ffcb457e2c8b (diff)
downloadpkgsrc-4b69f58bc2854c2547dddaf0ec88c8e5450e87da.tar.gz
Initial import of gobo-eiffel-1.5, a collection of portable structure
libraries and tools for Eiffel.
Diffstat (limited to 'devel/gobo-eiffel/Makefile')
-rw-r--r--devel/gobo-eiffel/Makefile61
1 files changed, 61 insertions, 0 deletions
diff --git a/devel/gobo-eiffel/Makefile b/devel/gobo-eiffel/Makefile
new file mode 100644
index 00000000000..39231e7524a
--- /dev/null
+++ b/devel/gobo-eiffel/Makefile
@@ -0,0 +1,61 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/10/14 02:11:31 jlam Exp $
+#
+
+DISTNAME= gobo15
+PKGNAME= gobo-eiffel-1.5
+CATEGORIES= devel
+MASTER_SITES= http://www.gobosoft.com/download/ \
+ http://www.eiffel-forum.org/archive/bezault/ \
+ ftp://ftp.eiffel.com/pub/shelf/bezault/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://www.gobosoft.com/
+
+BUILD_DEPENDS+= ${LOCALBASE}/bin/unzip:../../archivers/unzip
+BUILD_DEPENDS+= ${LOCALBASE}/bin/smalleiffel:../../lang/smalleiffel
+
+NO_WRKSUBDIR= yes
+EXTRACT_CMD= ${LOCALBASE}/bin/unzip -uLa \
+ ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
+
+GOBO= ${PREFIX}/share/gobo-eiffel
+
+post-extract:
+ ${RM} -rf ${WRKSRC}/bin
+
+pre-build:
+ for file in `find ${WRKSRC} -name "se.sh" -print`; do \
+ ${SED} -e "s,compile,smalleiffel compile -verbose -O2," \
+ $${file} > $${file}.tmp; \
+ ${RM} -f $${file}; \
+ ${MV} -f $${file}.tmp $${file}; \
+ done
+
+do-build:
+ cd ${WRKSRC}/src/gelex; GOBO=${WRKSRC} ${SH} se.sh
+ cd ${WRKSRC}/src/gepp; GOBO=${WRKSRC} ${SH} se.sh
+ cd ${WRKSRC}/src/geyacc; GOBO=${WRKSRC} ${SH} se.sh
+
+pre-install:
+ for file in `find ${WRKSRC} -name "loadpath.se" -print`; do \
+ ${SED} -e "s,\$${GOBO},${GOBO}," $${file} > $${file}.tmp; \
+ ${RM} -f $${file}; \
+ ${MV} -f $${file}.tmp $${file}; \
+ done
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/gelex/a.out ${PREFIX}/bin/gelex
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/gepp/a.out ${PREFIX}/bin/gepp
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/geyacc/a.out ${PREFIX}/bin/geyacc
+ ${INSTALL_DATA_DIR} ${GOBO}
+ cd ${WRKSRC}; ${PAX} -rw library ${GOBO}
+ ${CHOWN} ${SHAREOWN}:${SHAREGRP} ${GOBO}
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gobo-eiffel
+ cd ${WRKSRC}/doc; ${PAX} -rw * ${PREFIX}/share/doc/gobo-eiffel
+ ${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/gobo-eiffel
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gobo-eiffel
+ cd ${WRKSRC}/example; ${PAX} -rw * ${PREFIX}/share/examples/gobo-eiffel
+ ${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/examples/gobo-eiffel
+
+.include "../../mk/bsd.pkg.mk"