1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/lang/smalltalk/Makefile
Kevin Bowling da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00

78 lines
2.1 KiB
Makefile

# Created by: gpalmer
PORTNAME= smalltalk
PORTVERSION= 3.2.5
PORTREVISION= 16
CATEGORIES= lang
MASTER_SITES= GNU
MAINTAINER= danfe@FreeBSD.org
COMMENT= GNU Smalltalk
BROKEN_aarch64= Fails to link: undefined reference to sbrk
BROKEN_powerpc64= Fails to build: gst-package: did not understand #~
BROKEN_riscv64= Fails to link: undefined reference to sbrk
BROKEN_sparc64= Fails to install
BUILD_DEPENDS= zip:archivers/zip \
gawk:lang/gawk
LIB_DEPENDS= libgdbm.so:databases/gdbm \
libffi.so:devel/libffi \
libltdl.so:devel/libltdl \
libcairo.so:graphics/cairo \
libexpat.so:textproc/expat2
USES= gl gmake gnome iconv libtool makeinfo pathfix pkgconfig \
readline shebangfix sqlite tar:xz xorg
USE_GL= gl glu glut
USE_GNOME= pango
USE_XORG= ice sm x11 xi xmu
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_prog_EMACS=no ac_cv_prog_AWK=gawk
CONFIGURE_ARGS= --enable-generational-gc=no \
--enable-gtk=no \
--localstatedir="${PREFIX}/var" \
--with-emacs=no \
--with-gmp=no
USE_LDCONFIG= yes
SHEBANG_LANG= sed
sed_OLD_CMD= /bin/sed
sed_CMD= ${SED}
SHEBANG_FILES= packages/vfs/deb packages/vfs/mailfs \
examples/pepe.sed examples/xml.sed
PLIST_SUB= VERSION="${PORTVERSION}"
PORTDATA= *
INFO= gst gst-base gst-libs
OPTIONS_DEFINE= PGSQL SDL
OPTIONS_DEFAULT= PGSQL SDL
OPTIONS_SUB= yes
PGSQL_USES= pgsql
SDL_USES= sdl
SDL_USE= SDL=image,mixer,sdl,sound,ttf
post-patch:
@${REINPLACE_CMD} -e 's/ia64-\*-\* /&|amd64-*-* /' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's/lrintl (truncl/lroundl (truncl/' \
${WRKSRC}/libgst/prims.def \
${WRKSRC}/libgst/prims.inl
@${REINPLACE_CMD} -e '/^ac_include/s/\\$$/#include <wctype.h> \\/' \
${WRKSRC}/snprintfv/configure
post-build:
@${SED} -e 's|@bindir@|${PREFIX}/bin|g' \
${WRKSRC}/gst-mode.el.in > ${WRKSRC}/gst-mode.el
post-install:
@${LN} -sf gst-load.1 ${STAGEDIR}${MANPREFIX}/man/man1/gst-reload.1
@${MKDIR} ${STAGEDIR}${DATADIR}/gtk
${INSTALL_DATA} ${WRKSRC}/*.el ${STAGEDIR}${PREFIX}/share/emacs/site-lisp
@${LS} -1 ${STAGEDIR}${PREFIX}/bin/gst* |grep -v config|${XARGS} ${STRIP_CMD}
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/smalltalk/*.so
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgst.so
.include <bsd.port.mk>