aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2007-05-03 08:31:09 +0800
committeralepulver <alepulver@FreeBSD.org>2007-05-03 08:31:09 +0800
commitac8e41a7f3924f3a3b109f4232d75f4b78635449 (patch)
tree38ba1786f1e52394eefc5a37895700d45128cd30
parent064c9d65e4f9efce5d2dca748d5cf27c1538f946 (diff)
downloadfreebsd-ports-graphics-ac8e41a7f3924f3a3b109f4232d75f4b78635449.tar.gz
freebsd-ports-graphics-ac8e41a7f3924f3a3b109f4232d75f4b78635449.tar.zst
freebsd-ports-graphics-ac8e41a7f3924f3a3b109f4232d75f4b78635449.zip
- Use IA32_BINARY_PORT (to support amd64/ia64 compatibility), and add comment
before it (about why it's only for i386). - Use INSTALL_PROGRAM and INSTALL_MAN macros. - Use MANPREFIX. - Use SHAREOWN/SHAREGRP for (not binary) installed files. PR: ports/112361 Submitted by: alepulver (myself) Approved by: Martin Cracauer <cracauer@cons.org> (maintainer)
-rw-r--r--lang/cmucl/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/lang/cmucl/Makefile b/lang/cmucl/Makefile
index cd3e55da8d9..1a3d3eaf255 100644
--- a/lang/cmucl/Makefile
+++ b/lang/cmucl/Makefile
@@ -19,8 +19,10 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-x86-FreeBSD
MAINTAINER= cracauer@cons.org
COMMENT= The CMU implementation of Common Lisp
-ONLY_FOR_ARCHS= i386
-USE_BZIP2= YES
+# To make available on other archs, has to be cross-compiled (there is a
+# script for this, but a configuration file has to be written).
+IA32_BINART_PORT= yes
+USE_BZIP2= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
MAN1= lisp.1 cmucl.1
@@ -35,13 +37,11 @@ LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
.endif
do-install:
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} ${WRKDIR}/bin/lisp ${PREFIX}/bin
- (cd ${WRKDIR} && ${FIND} lib | \
- ${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX})
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} ${WRKDIR}/man/man1/cmucl.1 \
- ${PREFIX}/man/man1
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} ${WRKDIR}/man/man1/lisp.1 \
- ${PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKDIR}/bin/lisp ${PREFIX}/bin/${PORTNAME}
+ cd ${WRKDIR} && ${FIND} lib | \
+ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}
+ ${INSTALL_MAN} ${WRKDIR}/man/man1/cmucl.1 ${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKDIR}/man/man1/lisp.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/doc/cmucl/* ${DOCSDIR}