blob: 003c93fed26d94e34a496a412818ef32fb170d95 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# 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.26
PORTREVISION= 2
CATEGORIES= www x11-toolkits linux
MASTER_SITES= ftp://ftp.lesstif.org/pub/hungry/lesstif/srcdist/ \
ftp://ftp.lesstif.org/pub/hungry/lesstif/srcdist/obsolete/ \
ftp://ftp.rge.com/pub/X/lesstif/srcdist/ \
ftp://ftp.rge.com/pub/X/lesstif/srcdist/obsolete/ \
ftp://ftp.kddlabs.co.jp/X11/lesstif/srcdist/ \
ftp://ftp.kddlabs.co.jp/X11/lesstif/srcdist/obsolete/
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
COMMENT= Clone of the Motif library mostly for linux-netscape4
BUILD_DEPENDS= ${LINUXBASE}/usr/bin/cc:${PORTSDIR}/devel/linux_devtools-7
RUN_DEPENDS= ${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/linux-XFree86-libs
USE_BZIP2= yes
USE_LINUX_PREFIX= yes
PREFIX= ${LINUXBASE}${X11BASE}
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --host=${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
|