1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Add documentation (optional with NOPORTDOCS support), and a couple of

whitespace changes.

Maintainer: timed out (hope he is happy with the docs)

PR:		19854 (modified)
This commit is contained in:
Jimmy Olgeni 2001-02-08 16:10:58 +00:00
parent d5085945f7
commit 806b2d0a38
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38111
5 changed files with 2182 additions and 35 deletions

View File

@ -10,7 +10,10 @@ PORTVERSION= 1.1.0.20000207
CATEGORIES= lang tk80
MASTER_SITES= ftp://ftp.mozart-oz.org/pub/mozart/${PORTVERSION}/tar/ \
ftp://ftp.sics.se/pub/mozart/${PORTVERSION}/tar/
EXTRACT_SUFX= -src.tar.gz
DISTFILES= ${DISTNAME}-src.tar.gz ${MOZART_DOCS}
.if !defined(NOPORTDOCS)
DISTFILES+= ${MOZART_DOCS}
.endif
MAINTAINER= mathiasp@virtual-earth.de
@ -18,6 +21,8 @@ BUILD_DEPENDS= xemacs:${PORTSDIR}/editors/xemacs21
LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm \
tk80.1:${PORTSDIR}/x11-toolkits/tk80
MOZART_DOCS= mozart-1.1.0.20000207-doc.tar.gz
SCRIPTS_ENV= LN=${LN} PERL=${PERL}
ALL_TARGET=
MAKE_ARGS= PREFIX=${PREFIX}/lib/oz
@ -46,6 +51,13 @@ pre-extract:
@${ECHO}
post-install:
@cat ${PKGMESSAGE}
.if !defined(NOPORTDOCS)
${TAR} --unlink -xzpf ${DISTDIR}/${MOZART_DOCS} \
-C ${PREFIX}/lib/oz
${RM} -rf ${PREFIX}/lib/oz/doc
${MV} ${PREFIX}/lib/oz/mozart/doc ${PREFIX}/lib/oz
${RM} -rf ${PREFIX}/lib/oz/mozart
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -1 +1,2 @@
MD5 (mozart-1.1.0.20000207-src.tar.gz) = 709245e860d01ab936f19bb3dd859ab1
MD5 (mozart-1.1.0.20000207-doc.tar.gz) = 794c55cc28acbef904ec68b5f4f98d78

View File

@ -1,4 +1,3 @@
--------------------------------------------------
If you have both emacs and xemacs installed,
@ -6,4 +5,3 @@ set OZEMACS=xemacs in your .profile or .login
to choose xemacs over emacs.
--------------------------------------------------

File diff suppressed because it is too large Load Diff

View File

@ -3,4 +3,3 @@
${PERL} -p -i -e"s:# OZHOME=.*:OZHOME=${PREFIX}/lib/oz:" ${PREFIX}/lib/oz/bin/oz
${LN} -sf ${PREFIX}/lib/oz/bin/* ${PREFIX}/bin