aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/linux-openmotif/Makefile
blob: b60ad8ba15ce7d4392131cb0d677639a0c0abf03 (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
# New ports collection makefile for:   linux-openmotif
# Date created:                2001-09-24
# Whom:                        Christian Weisgerber <naddy@mips.inka.de>
#
# $FreeBSD$

PORTNAME=   openmotif
PORTVERSION=    2.2.4
PORTREVISION=   4
CATEGORIES= x11-toolkits linux
MASTER_SITES=   ftp://ftp.motifzone.com/%SUBDIR%/ \
        ftp://ftp.ics.com/pub/Products/Motif/%SUBDIR%/
MASTER_SITE_SUBDIR= om2.2.4/redhat-7.3
PKGNAMEPREFIX=  linux-
EXTRACT_SUFX=   -0.1.i386.rpm
DIST_SUBDIR=    rpm
EXTRACT_ONLY=

MAINTAINER= freebsd-emulation@FreeBSD.org
COMMENT=    Motif toolkit Linux libraries

CONFLICTS=  linux-f8-openmotif-[0-9]* linux-f10-openmotif-[0-9]*

ONLY_FOR_ARCHS= i386 amd64
USE_LINUX_RPM=  yes
USE_LINUX_APPS= xorglibs
LINUX_DIST_VER= 4
NO_BUILD=   yes
SRC_DISTFILES=

EXTRACT_FILES=  ./usr/X11R6/lib/libMrm.so.3.0.3 \
        ./usr/X11R6/lib/libUil.so.3.0.3 \
        ./usr/X11R6/lib/libXm.so.3.0.3

do-install:
    cd ${PREFIX}; \
        rpm2cpio ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} | \
        ${CPIO} -idum -R ${LIBOWN}:${LIBGRP} ${EXTRACT_FILES}
    chroot ${PREFIX} /sbin/ldconfig

.include <bsd.port.mk>