2000-05-07 06:05:24 +00:00
|
|
|
# New ports collection makefile for: linux-lesstif-ns
|
|
|
|
# Date created: 7 May 2000
|
2000-10-28 08:37:18 +00:00
|
|
|
# Whom: imura@af.airnet.ne.jp
|
2000-05-07 06:05:24 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= lesstif
|
2000-06-11 06:01:49 +00:00
|
|
|
PORTVERSION= 0.91.0
|
2000-05-07 06:05:24 +00:00
|
|
|
CATEGORIES= www x11-toolkits linux
|
|
|
|
MASTER_SITES= ftp://ftp.lesstif.org/pub/hungry/lesstif/srcdist/ \
|
|
|
|
ftp://ftp.hungry.com/pub/hungry/lesstif/srcdist/ \
|
|
|
|
ftp://ftp.fu-berlin.de/unix/X11/gui/lesstif/srcdist/ \
|
|
|
|
ftp://ftp.win.or.jp/pub/X11/misc/lesstif/srcdist/
|
|
|
|
PKGNAMEPREFIX= linux-
|
|
|
|
PKGNAMESUFFIX= -ns
|
|
|
|
|
|
|
|
PATCH_SITES= http://cgi.shikoku.ne.jp/~fun/srpms/
|
|
|
|
PATCHFILES= ${DISTNAME}-i18n.patch
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
2000-10-28 08:37:18 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2000-05-07 06:05:24 +00:00
|
|
|
|
2000-10-02 15:44:13 +00:00
|
|
|
BUILD_DEPENDS= ${LINUXBASE}/usr/bin/cc:${PORTSDIR}/devel/linux_devtools
|
2000-05-07 06:05:24 +00:00
|
|
|
|
2000-10-02 15:44:13 +00:00
|
|
|
USE_LINUX_PREFIX= yes
|
|
|
|
PREFIX= ${LINUXBASE}${X11BASE}
|
2000-05-07 06:05:24 +00:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --host=${MACHINE_ARCH}--linux-gnu --enable-shared --enable-production \
|
|
|
|
--disable-build-20 --disable-debug --no-recursion \
|
|
|
|
--without-motif --disable-build-Xlt --disable-build-Xbae
|
2000-10-02 15:44:13 +00:00
|
|
|
GMAKE= ${LINUXBASE}/usr/bin/make
|
2000-05-07 06:05:24 +00:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC}/lib/Xm && ${GMAKE}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/lib/Xm/.libs/libXm.so.1.0.2 \
|
|
|
|
${PREFIX}/lib/libXm-ns.so.1.0.2
|
|
|
|
${LN} -sf libXm-ns.so.1.0.2 ${PREFIX}/lib/libXm.so.1
|
|
|
|
${LN} -sf libXm.so.1 ${PREFIX}/lib/libXm.so
|
2000-10-02 15:44:13 +00:00
|
|
|
${LINUXBASE}/sbin/ldconfig
|
2000-05-07 06:05:24 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
|
2000-10-02 15:44:13 +00:00
|
|
|
CONFIGURE_ENV+= ${LINUXBASE}/bin/bash
|