mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
6abe40aed8
PR: 35962 Submitted by: KATO Tsuguru <tkato@prontomail.com>
42 lines
954 B
Makefile
42 lines
954 B
Makefile
# New ports collection makefile for: smalltalk
|
|
# Date created: 09 Feb 1995
|
|
# Whom: gpalmer
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= smalltalk
|
|
PORTVERSION= 1.95.11
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= MAKEINFO='makeinfo --no-split'
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
|
|
|
MAN1= gst.1
|
|
|
|
.if defined(WITH_TCLTK)
|
|
LIB_DEPENDS+= tk83.1:${PORTSDIR}/x11-toolkits/tk83
|
|
CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib/tcl8.3 \
|
|
--with-tk=${LOCALBASE}/lib/tk8.3
|
|
PLIST_SUB+= TCLTK=""
|
|
.else
|
|
CONFIGURE_ARGS+= --with-tcl=no
|
|
PLIST_SUB+= TCLTK="@comment "
|
|
.endif
|
|
|
|
post-extract:
|
|
@${RM} -f ${WRKSRC}/doc/gst.info*
|
|
|
|
pre-patch:
|
|
@${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${PERL} -pi -e \
|
|
's| -release \$$\(VERSION\)| -avoid-version|g'
|
|
@${PERL} -pi -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/libltdl/ltdl.c
|
|
|
|
.include <bsd.port.mk>
|