d9d18678eb
- Use bzip2 archive instead of gzip archive. - Do linux(8) before configure, because if linux mode is not active, this port won't be configurable/buildable and will show weird error messages (kind of these messages will confuse some people). PR: ports/24684 Submitted by: imura@af.airnet.ne.jp
54 lines
1.5 KiB
Makefile
54 lines
1.5 KiB
Makefile
# New ports collection makefile for: linux-lesstif-ns
|
|
# Date created: 7 May 2000
|
|
# Whom: imura@af.airnet.ne.jp
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lesstif
|
|
PORTVERSION= 0.92.6
|
|
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
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= ${LINUXBASE}/usr/bin/cc:${PORTSDIR}/devel/linux_devtools
|
|
|
|
USE_BZIP2= yes
|
|
USE_LINUX_PREFIX= yes
|
|
PREFIX= ${LINUXBASE}${X11BASE}
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --host=${MACHINE_ARCH}--linux-gnu \
|
|
--enable-shared --enable-production \
|
|
--enable-build-12 --enable-default-12 --disable-build-20 \
|
|
--disable-debug --no-recursion \
|
|
--without-motif --disable-build-Xlt --disable-build-Xbae
|
|
GMAKE= ${LINUXBASE}/usr/bin/make
|
|
|
|
pre-configure:
|
|
@${ECHO_MSG} "*** Loading the Linux loadable kernel module (Error will be ignored) ***"
|
|
-@linux
|
|
|
|
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
|
|
${LINUXBASE}/sbin/ldconfig
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
CONFIGURE_ENV+= ${LINUXBASE}/bin/bash
|