1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Update to 1.1.98

This commit is contained in:
Pietro Cerutti 2008-12-04 17:36:37 +00:00
parent 445f663a91
commit d0333567de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=223764
10 changed files with 38 additions and 222 deletions

View File

@ -6,39 +6,56 @@
#
PORTNAME= meta-cvs
PORTVERSION= 1.0.13
PORTREVISION= 3
PORTVERSION= 1.1.98
CATEGORIES= devel
MASTER_SITES= http://users.footprints.net/~kaz/
DISTNAME= mcvs-${PORTVERSION}
MASTER_SITES= http://common-lisp.net/project/meta-cvs/downloads/
MAINTAINER= gahr@FreeBSD.org
COMMENT= A more capable version control system than CVS, built around CVS
BUILD_DEPENDS= clisp:${PORTSDIR}/lang/clisp \
${LOCALBASE}/lib/libavcall.a:${PORTSDIR}/devel/ffcall
RUN_DEPENDS= clisp:${PORTSDIR}/lang/clisp \
${LOCALBASE}/lib/libavcall.a:${PORTSDIR}/devel/ffcall
OPTIONS= PDFDOC "Build PDF documentation" off
USE_GETTEXT= yes
BUILD_DEPENDS= clisp:${PORTSDIR}/lang/clisp \
lndir:${PORTSDIR}/devel/lndir
RUN_DEPENDS= clisp:${PORTSDIR}/lang/clisp
USE_GMAKE= yes
GNU_CONFIGURE= yes
PLIST_FILES= bin/mcvs \
bin/mcvs-debug \
${DATADIR:C/${PREFIX}\///}/mcvs.mem \
${DATADIR:C/${PREFIX}\///}/mcvs-debug.mem
PLIST_DIRS= ${DATADIR:C/${PREFIX}\///}
PORTDOCS= Meta-CVS-PAPER \
PORTING \
QUICK-GUIDE \
SCRIPTING
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386" && ${OSVERSION} >= 700000
USE_GCC= 3.4
.if !defined(WITHOUT_PDFDOC) && !defined(NOPORTDOCS)
BUILD_DEPENDS+= pdflatex:${PORTSDIR}/print/teTeX-base
PORTDOCS+= meta-cvs.pdf
.endif
post-patch:
${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
${CP} ${FILESDIR}/build.sh ${WRKSRC}/code
${REINPLACE_CMD} -e '232s|make|${GMAKE}|g' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's|type -P|which|g;s|$$(prefix)/lib|${DATADIR}|g' ${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's|libc.so.6|libc.so|' ${WRKSRC}/code/clisp-ffi.lisp
${REINPLACE_CMD} -e '12s|latex|pdflatex|' ${WRKSRC}/docs/tex-manual/Makefile
post-install:
${SED} 's:PREFIX:${PREFIX}:g' ${FILESDIR}/mcvs.tmpl > ${WRKDIR}/mcvs
${INSTALL_SCRIPT} ${WRKDIR}/mcvs ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/Meta-CVS-PAPER ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/QUICK-GUIDE ${DOCSDIR}
. if !defined(WITHOUT_PDFDOC)
(cd ${WRKSRC}/docs/tex-manual && ${GMAKE} && \
${CP} ${WRKSRC}/docs/tex-manual/meta-cvs.pdf ${WRKSRC}/docs/misc-text-files)
. endif
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/docs/misc-text-files/${doc} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
MD5 (mcvs-1.0.13.tar.gz) = 46355633fb763214480978df88919e23
SHA256 (mcvs-1.0.13.tar.gz) = 2b0dcc8787fdf2cfab047232c017c4488664926800da7ad8454f6f00b1da4b81
SIZE (mcvs-1.0.13.tar.gz) = 129469
MD5 (meta-cvs-1.1.98.tar.gz) = 1804561985990599b7c9f138b1b91e09
SHA256 (meta-cvs-1.1.98.tar.gz) = 4f3351b0e545a728816f8fcaff1950032543efe53f2246b198b98fa514616966
SIZE (meta-cvs-1.1.98.tar.gz) = 152231

View File

@ -1,9 +0,0 @@
# $FreeBSD$
all: meta-cvs
meta-cvs:
(cd code; /bin/sh build.sh)
install:
(cd code; /bin/sh install.sh ${PREFIX})

View File

@ -1,24 +0,0 @@
#!/bin/sh
#
# $FreeBSD$
CLISP_LIB=$(clisp -q -norc -x '(progn (princ *lib-directory*) (values))')
LINKSET=unix-bindings-linking-set
if [ ! -e $LINKSET ] ; then
export CLISP_LINKKIT="${CLISP_LIB}linkkit"
sh "${CLISP_LIB}clisp-link" add-module-set unix-bindings \
"${CLISP_LIB}base" $LINKSET
fi
LISPRUN=$LINKSET/lisp.run
if ! $LISPRUN -M $LINKSET/lispinit.mem -q -c mcvs-main ; then
echo "There were compilation errors."
exit 1
fi
$LISPRUN -M $LINKSET/lispinit.mem -q -i mcvs-main -x '(ext:saveinitmem "mcvs.mem" :quiet t)'
exit 0

View File

@ -1,2 +0,0 @@
#!PREFIX/lib/clisp/meta-cvs/lisp.run -MPREFIX/lib/clisp/meta-cvs/lispinit.mem
(mcvs)

View File

@ -1,22 +0,0 @@
--- code/unix-bindings/Makefile.orig 2003-01-16 06:06:09.000000000 +0100
+++ code/unix-bindings/Makefile 2008-01-18 15:35:17.000000000 +0100
@@ -1,18 +1,12 @@
# Makefile for CLISP module set unix-bindings
-CC =
-CFLAGS =
-INCLUDES=
-
-CLISP =
-
SHELL = /bin/sh
unix.c : unix.lisp
clisp -c unix.lisp
unix.o : unix.c
- $(CC) $(CFLAGS) -I$(INCLUDES) -c unix.c
+ $(CC) $(CFLAGS) -I$(INCLUDES) -I${LOCALBASE}/include -c unix.c
wrap.o : wrap.c
$(CC) $(CFLAGS) -I$(INCLUDES) -c wrap.c

View File

@ -1,124 +0,0 @@
$FreeBSD$
--- code/install.sh.orig Thu Feb 13 19:30:54 2003
+++ code/install.sh Thu Feb 13 19:31:01 2003
@@ -51,12 +51,6 @@
exit 1
fi
-if [ ! -e $LINKSET ] ; then
- export CLISP_LINKKIT="${CLISP_LIB}linkkit"
- sh "${CLISP_LIB}clisp-link" add-module-set unix-bindings \
- "${CLISP_LIB}base" $LINKSET
-fi
-
LISPRUN=$LINKSET/lisp
if [ -f $LISPRUN.run ] ; then
@@ -65,18 +59,8 @@
elif [ -f $LISPRUN.exe ] ; then
LISPRUN=$LISPRUN.exe
LISPEXE=.exe
-else
- echo "linking set failed to build."
- exit 1
-fi
-
-if ! $LISPRUN -M $LINKSET/lispinit.mem -q -c mcvs-main ; then
- echo "There were compilation errors."
- exit 1
fi
-$LISPRUN -M $LINKSET/lispinit.mem -q -i mcvs-main -x '(ext:saveinitmem "mcvs.mem" :quiet t)'
-
if ! cp mcvs.mem $TARGET_LIB/lispinit.mem; then
echo "Unable to copy to $TARGET_LIB."
exit 1
@@ -84,87 +68,6 @@
if ! cp $LISPRUN $TARGET_LIB; then
echo "Unable to copy to $TARGET_LIB."
- exit 1
-fi
-
-if ! cat > $TARGET_BIN/mcvs <<END
-#!$TARGET_LIB/lisp$LISPEXE -M$TARGET_LIB/lispinit.mem
-(mcvs)
-END
-then
- echo "Could not create mcvs script in $TARGET."
- exit 1
-fi
-
-if ! chmod a+x "$TARGET_BIN/mcvs" ; then
- echo "Could not set permissions of mcvs script in $TARGET."
- exit 1
-fi
-
-if ! cat > $TARGET_BIN/mcvs-upgrade <<END
-#!/bin/sh
-TARGET_LIB="$TARGET_LIB"
-LISPRUN="\$TARGET_LIB/lisp.run -M \$TARGET_LIB/lispinit.mem"
-
-if [ \$# != 1 ] ; then
- echo
- echo "Syntax:"
- echo
- echo " mcvs-upgrade <path-to-source>"
- echo
- echo "The path specifies the directory which holds unpacked Meta-CVS source,"
- echo "the place where the file mcvs-main.lisp is located."
- echo
- echo "This upgrade mechanism is intended to make it possible to use a"
- echo "newer version of Meta-CVS without having to obtain a complete binary"
- echo "distribution that includes the Lisp executable, and without having"
- echo "to install the Lisp development environment to build the sources."
- echo
- echo "Note that it's not possible to upgrade if the newer Meta-CVS sources"
- echo "rely on new C functions being linked into the Lisp system; get a"
- echo "new binary distribution, or set up CLISP and compile Meta-CVS from"
- echo "the sources using its install.sh script"
- echo
- echo "Ignore the copious compiler warnings about objects and functions"
- echo "being redefined; this is what we want."
- echo
- exit 1
-fi
-
-SOURCE_PATH="\$1"
-
-if ! cd "\$SOURCE_PATH" ; then
- echo "unable to change to \$SOURCE_PATH"
- exit 1
-fi
-
-if ! \$LISPRUN -c mcvs-main ; then
- echo "unable to compile"
- exit 1
-fi
-
-if ! \$LISPRUN -q -i mcvs-main -x '(ext:saveinitmem "mcvs.mem" :quiet t)' ; then
- echo "unable to load and generate memory image"
- exit 1
-fi
-
-if ! cp mcvs.mem \$TARGET_LIB/lispinit.mem ; then
- echo "unable to copy new Meta-CVS image to \$TARGET_LIB directory."
- exit 1
-fi
-
-echo
-echo "It appears that Meta-CVS has been re-generated from the given sources."
-echo
-
-END
-then
- echo "Could not create mcvs script in $TARGET."
- exit 1
-fi
-
-if ! chmod a+x "$TARGET_BIN/mcvs-upgrade" ; then
- echo "Could not set permissions of mcvs script in $TARGET."
exit 1
fi

View File

@ -1,12 +0,0 @@
--- code/unix-bindings/unix.lisp~ 2004-01-08 16:34:05.000000000 +0100
+++ code/unix-bindings/unix.lisp 2004-10-16 16:06:28.000000000 +0200
@@ -38,7 +38,8 @@
(defmacro def-c-call-out (sym &body args)
`(def-call-out ,sym (:language :stdc) ,@args))
-#.(when (> (read-from-string (lisp-implementation-version)) 2.30)
+#.(when (> (read-from-string (subseq (lisp-implementation-version)
+ 0 4)) 2.30)
(push :clisp-newer-than-2.30 *features*)
(values))

View File

@ -12,7 +12,7 @@ Its main features are:
* Tracking of third party code containing moves and renames.
* Ease of deployment.
WWW: http://users.footprints.net/~kaz/mcvs.html
WWW: http://common-lisp.net/project/meta-cvs/
- Johannes Groedem
johs@copyleft.no

View File

@ -1,8 +0,0 @@
bin/mcvs
lib/clisp/meta-cvs/lispinit.mem
lib/clisp/meta-cvs/lisp.run
@dirrm lib/clisp/meta-cvs
@dirrmtry lib/clisp
%%PORTDOCS%%%%DOCSDIR%%/Meta-CVS-PAPER
%%PORTDOCS%%%%DOCSDIR%%/QUICK-GUIDE
%%PORTDOCS%%@dirrm %%DOCSDIR%%