aboutsummaryrefslogtreecommitdiff
path: root/lang/mit-scheme
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2013-11-07 14:59:22 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2013-11-07 14:59:22 +0000
commit03a9986ab4b9729c7f7a3e26d040bd9e86ac71cf (patch)
tree422b73f6f83182102389c366708ead37501423f5 /lang/mit-scheme
parent87db8d77cd2ee547ee928c303eb3c84453c1db34 (diff)
downloadports-03a9986ab4b9729c7f7a3e26d040bd9e86ac71cf.tar.gz
ports-03a9986ab4b9729c7f7a3e26d040bd9e86ac71cf.zip
Notes
Diffstat (limited to 'lang/mit-scheme')
-rw-r--r--lang/mit-scheme/Makefile12
-rw-r--r--lang/mit-scheme/pkg-plist1
2 files changed, 5 insertions, 8 deletions
diff --git a/lang/mit-scheme/Makefile b/lang/mit-scheme/Makefile
index febd1fab6e69..dde5d1e129e5 100644
--- a/lang/mit-scheme/Makefile
+++ b/lang/mit-scheme/Makefile
@@ -13,14 +13,13 @@ COMMENT= MIT Scheme: includes runtime, compiler, and edwin binaries
ONLY_FOR_ARCHS= i386 amd64
GNU_CONFIGURE= yes
-USE_GMAKE= yes
+USES= gmake
WRKSRC= ${WRKDIR}/mit-scheme-${PORTVERSION}/src/
OPTIONS_DEFINE= GDBM MCRYPT MHASH OPENSSL PGSQL X11
MCRYPT_DESC= mcrypt library support
MHASH_DESC= mhash library support
-NO_STAGE= yes
.include <bsd.port.pre.mk>
# TODO implement db4 support
@@ -87,17 +86,14 @@ MIT_SCHEME_ARCH=${ARCH}
PLIST_SUB+= MIT_SCHEME_ARCH=${MIT_SCHEME_ARCH}
-MAN1= scheme.1
-
post-build:
- @${FIND} ${WRKDIR} -type d -empty | ${XARGS} ${RMDIR}
+ @${FIND} ${WRKDIR} -type d -empty -delete
do-build:
@cd ${WRKDIR}/mit-scheme-${PORTVERSION}/src/microcode && ${GMAKE}
do-install:
- @cd ${WRKDIR}/mit-scheme-${PORTVERSION}/src && ${GMAKE} install
- @${INSTALL_MAN} ${WRKDIR}/mit-scheme-${PORTVERSION}/doc/scheme.1 ${MAN1PREFIX}/man/man1/
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/mit-scheme-${MIT_SCHEME_ARCH}
+ @cd ${WRKDIR}/mit-scheme-${PORTVERSION}/src && ${GMAKE} install DESTDIR=${STAGEDIR}
+ ${INSTALL_MAN} ${WRKDIR}/mit-scheme-${PORTVERSION}/doc/scheme.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
.include <bsd.port.post.mk>
diff --git a/lang/mit-scheme/pkg-plist b/lang/mit-scheme/pkg-plist
index d628663039fc..d5fdaa342276 100644
--- a/lang/mit-scheme/pkg-plist
+++ b/lang/mit-scheme/pkg-plist
@@ -551,6 +551,7 @@ lib/mit-scheme-%%MIT_SCHEME_ARCH%%/xml/xml-rpc.com
lib/mit-scheme-%%MIT_SCHEME_ARCH%%/xml/xml-struct.bci
lib/mit-scheme-%%MIT_SCHEME_ARCH%%/xml/xml-struct.com
lib/mit-scheme-%%MIT_SCHEME_ARCH%%/xml/xml-unx.pkd
+man/man1/scheme.1.gz
@dirrm lib/mit-scheme-%%MIT_SCHEME_ARCH%%/xml
@dirrm lib/mit-scheme-%%MIT_SCHEME_ARCH%%/star-parser
@dirrm lib/mit-scheme-%%MIT_SCHEME_ARCH%%/ssp