mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
7a8e3d9561
PR: ports/90554 Submitted by: Ports Fury
70 lines
1.6 KiB
Makefile
70 lines
1.6 KiB
Makefile
# New ports collection makefile for: smalltalk
|
|
# Date created: 09 Feb 1995
|
|
# Whom: gpalmer
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= smalltalk
|
|
PORTVERSION= 2.2
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= GNU Smalltalk
|
|
|
|
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm \
|
|
execinfo.1:${PORTSDIR}/devel/libexecinfo
|
|
|
|
OPTIONS= TCLTK "Enable Tcl/Tk binding" on
|
|
|
|
USE_GNOME= gnomehack gnometarget pkgconfig
|
|
USE_GCC= 3.4+
|
|
USE_ICONV= yes
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
|
|
ac_cv_prog_EMACS=no
|
|
CONFIGURE_ARGS= --enable-generational-gc=no --enable-gtk=no \
|
|
--with-emacs=no --with-gmp=no
|
|
INSTALLS_SHLIB= yes
|
|
|
|
MAN1= gst.1
|
|
INFO= gst gst-base gst-libs
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} != "i386" && ${ARCH} != "alpha"
|
|
BROKEN= "Does not compile on !i386 and !alpha"
|
|
.endif
|
|
|
|
.if ${OSVERSION} < 500000
|
|
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
|
|
.endif
|
|
|
|
.if defined(WITHOUT_TCLTK)
|
|
CONFIGURE_ARGS+= --with-tcl=no
|
|
PLIST_SUB+= TCLTK="@comment "
|
|
.else
|
|
LIB_DEPENDS+= tk84.1:${PORTSDIR}/x11-toolkits/tk84
|
|
CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib/tcl8.4 \
|
|
--with-tk=${LOCALBASE}/lib/tk8.4
|
|
PLIST_SUB+= TCLTK=""
|
|
.endif
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|-release $$(VERSION)|-avoid-version|g'
|
|
@${REINPLACE_CMD} -e 's|typedef .*intptr_t;||g ; \
|
|
s|typedef .*intmax_t;||g' ${WRKSRC}/configure
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/*.el ${PREFIX}/share/emacs/site-lisp
|
|
|
|
.include <bsd.port.post.mk>
|