aboutsummaryrefslogtreecommitdiffstats
path: root/lang/rscheme/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-07-31 18:06:38 +0800
committersobomax <sobomax@FreeBSD.org>2001-07-31 18:06:38 +0800
commitb72548d7d9e8dca83a26defe1eb9039498c5c3ce (patch)
tree8b33a9a51f9c19ce812d8a971aaf787d46255d88 /lang/rscheme/Makefile
parent44f83f60509d1417906a83a90bbc689f55899e58 (diff)
downloadfreebsd-ports-gnome-b72548d7d9e8dca83a26defe1eb9039498c5c3ce.tar.gz
freebsd-ports-gnome-b72548d7d9e8dca83a26defe1eb9039498c5c3ce.tar.zst
freebsd-ports-gnome-b72548d7d9e8dca83a26defe1eb9039498c5c3ce.zip
Add rscheme 0.7.3.1, an object-oriented, extended version of the
Scheme dialect of Lisp.
Diffstat (limited to 'lang/rscheme/Makefile')
-rw-r--r--lang/rscheme/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/lang/rscheme/Makefile b/lang/rscheme/Makefile
new file mode 100644
index 000000000000..85886ac91aab
--- /dev/null
+++ b/lang/rscheme/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: rscheme
+# Date created: 31 July 2001
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rscheme
+PORTVERSION= 0.7.3.1
+CATEGORIES= lang
+MASTER_SITES= ftp://ftp.rscheme.org/pub/rscheme/
+DISTNAME= rs-${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${WRKDIR}/build ${CONFIGURE_TARGET}
+MAKE_ENV= REAL_PREFIX=${PREFIX}
+
+BOOTSTRAP_DIR= ${WRKDIR}/${DISTNAME}
+BOOTSTRAP_TARGET= stage1
+
+post-extract:
+ @${MKDIR} ${WRKSRC} ${WRKDIR}/build
+
+pre-configure:
+ @${RM} -rf ${WRKSRC}
+ @(cd ${BOOTSTRAP_DIR}; ${SETENV} ${MAKE_ENV} ${CONFIGURE_ENV} ${MAKE} \
+ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${BOOTSTRAP_TARGET})
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKDIR}/build/bin/rs ${PREFIX}/bin/rs
+ (cd ${WRKDIR}/build && ${TAR} -c -f - include/rscheme* lib/librs.a) \
+ | (cd ${PREFIX} && ${TAR} --unlink -x -f -)
+ ${MKDIR} ${DATADIR}
+ (cd ${WRKDIR}/build && ${TAR} -c -f - resource) \
+ | (cd ${DATADIR} && ${TAR} --unlink -x -f -)
+
+.include <bsd.port.mk>