mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
0e32330f15
Chase the devel/libffi update Bump portrevision of all dependent ports to chace shard library version bump in libffi. Update LIB_DEPENDS lines where needed to not require a specific version of libffi.so. PR: 247028 (for tracking)
78 lines
2.1 KiB
Makefile
78 lines
2.1 KiB
Makefile
# Created by: gpalmer
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= smalltalk
|
|
PORTVERSION= 3.2.5
|
|
PORTREVISION= 15
|
|
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_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>
|