diff options
Diffstat (limited to 'lang/clisp/Makefile')
-rw-r--r-- | lang/clisp/Makefile | 64 |
1 files changed, 9 insertions, 55 deletions
diff --git a/lang/clisp/Makefile b/lang/clisp/Makefile index 5d4d64b6ca08..66eba8a42871 100644 --- a/lang/clisp/Makefile +++ b/lang/clisp/Makefile @@ -6,68 +6,30 @@ # PORTNAME= clisp -PORTVERSION= 2.30 -PORTREVISION= 2 -CATEGORIES= lang -MASTER_SITES= ftp://cvs2.cons.org/pub/lisp/clisp/source/${PORTVERSION}/ \ - ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} +PORTVERSION= 2.33.2 +CATEGORIES= lang lisp +MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITE_SUBDIR=${PORTNAME}/release/${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= jakub@rehor.net COMMENT= An ANSI Common Lisp USE_BZIP2= yes USE_ICONV= yes GNU_CONFIGURE= yes -USE_GCC= 2.95 USE_GETTEXT= yes -# -ino: 20050214-1307 taken from lang/perl5.8: -LOCALE_CLEANUP= LANG="" LC_ALL="" LC_COLLATE="" LC_CTYPE="" \ - LC_MESSAGES="" LC_MONETARY="" LC_NUMERIC="" \ - LC_TIME="" -CONFIGURE_ENV+= ${LOCALE_CLEANUP} -MAKE_ENV+= ${LOCALE_CLEANUP} - -# In clisp-2.28, the build dies in the "regexp" module: the build target -# invokes a configure script, which encounters a different CC variable than -# the one the top-level configure cached. We'll explicitly set CC to avoid -# this. -MAKE_ENV+= CC="${CC}" -CONFIGURE_ENV+= CC="${CC}" - -# The build uses INSTALL_* to copy files around, but since the Ports -# INSTALL_* try to set file permissions, using them breaks non-root builds. -# Instead, we'll just fix up permissions in the post-install target, after we -# install the files. -CONFIGURE_ENV+= INSTALL=${CP} INSTALL_DATA=${CP} INSTALL_PROGRAM=${CP} \ - INSTALL_SCRIPT=${CP} INSTALL_MAN=${CP} - # Build subdirectory BUILD_DIRNAME=${CONFIGURE_TARGET} -# These came from clisp-2.28's "configure" on my 4.4-R system, -# with "--with-module=regexp --with-export-syscalls" added in. +# Check ./configure --help in the distribution to see all modules MAKEMAKE_ARGS=--prefix=${PREFIX} --with-readline --with-gettext \ --with-dynamic-ffi --with-module=regexp --with-export-syscalls -# The post-install target uses these to fix permissions. -DATA_PATHS=${PREFIX}/lib/clisp ${PREFIX}/share/doc/clisp \ - ${PREFIX}/share/locale/de/LC_MESSAGES/clisp.mo \ - ${PREFIX}/share/locale/de/LC_MESSAGES/clisplow.mo \ - ${PREFIX}/share/locale/en/LC_MESSAGES/clisp.mo \ - ${PREFIX}/share/locale/en/LC_MESSAGES/clisplow.mo \ - ${PREFIX}/share/locale/es/LC_MESSAGES/clisp.mo \ - ${PREFIX}/share/locale/es/LC_MESSAGES/clisplow.mo \ - ${PREFIX}/share/locale/fr/LC_MESSAGES/clisp.mo \ - ${PREFIX}/share/locale/fr/LC_MESSAGES/clisplow.mo \ - ${PREFIX}/share/locale/nl/LC_MESSAGES/clisp.mo \ - ${PREFIX}/share/locale/nl/LC_MESSAGES/clisplow.mo -PROG_PATHS=${PREFIX}/bin/clisp -MAN_PATHS=${PREFIX}/man/man1/clisp.1 - .include <bsd.port.pre.mk> +# If you have an Alpha machine, you may want to test this port and let +# me know if you succeed. .if ${ARCH} == "alpha" BROKEN= "Does not compile on alpha" .endif @@ -75,7 +37,7 @@ BROKEN= "Does not compile on alpha" # The source doesn't include a top-level Makefile, so we'll fake one. post-extract: @cd ${WRKSRC} && \ - printf "all install:\n\t@cd ${WRKSRC}/${BUILD_DIRNAME} && \$${MAKE} \$${MAKEFLAGS} \$$@\n" > ${WRKSRC}/Makefile + ${PRINTF} "all install:\n\t@cd ${WRKSRC}/${BUILD_DIRNAME} && \$${MAKE} \$${MAKEFLAGS} \$$@\n" > ${WRKSRC}/Makefile # The 'configure' script stops short of doing this for us. post-configure: @@ -83,14 +45,6 @@ post-configure: ./makemake ${MAKEMAKE_ARGS} > Makefile && \ make config.lisp -post-install: - ${CHOWN} -R ${BINOWN}:${BINGRP} ${PROG_PATHS} - ${CHMOD} -R ugo+rX,ugo-w ${PROG_PATHS} - ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATA_PATHS} - ${CHMOD} -R ugo+rX,ugo-w ${DATA_PATHS} - ${CHOWN} -R ${MANOWN}:${MANGRP} ${MAN_PATHS} - ${CHMOD} -R ugo+rX,ugo-w ${MAN_PATHS} - MAN1= clisp.1 .include <bsd.port.post.mk> |