aboutsummaryrefslogtreecommitdiffstats
path: root/math/linux-relview/Makefile
blob: 1c089a880e8cc2e611a49c51f120901f3c6724a8 (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
# New ports collection makefile for:        relview
# Date created:                 October 24 2002
# Whom:                     Michael Ebert <ebert@informatik.unibw-muenchen.de>
#
# $FreeBSD$
#

PORTNAME=   relview
PORTVERSION=    7.0.2
CATEGORIES= math linux
MASTER_SITES=   ftp://ftp.informatik.uni-kiel.de/pub/kiel/relview/RELVIEW_7.0/LINUX/
PKGNAMEPREFIX=  linux-
EXTRACT_SUFX=   .gz

MAINTAINER= ebert@informatik.unibw-muenchen.de

RUN_DEPENDS=    ${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk

USE_LINUX=  yes
ONLY_FOR_ARCHS= i386

NO_WRKSUBDIR=   yes
EXTRACT_AFTER_ARGS= > ${DISTNAME}

NO_BUILD=   yes

PLIST_SUB=  VERSION=${PORTVERSION}

# Linux binary should not be stripped by INSTALL_PROGRAM
# because as a side effect it brands the binary as FreeBSD.
STRIP=  # empty

do-install:
    brandelf -t Linux ${WRKDIR}/${DISTNAME}
    ${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME} ${PREFIX}/bin
    ${LN} -fhs ${PREFIX}/bin/${DISTNAME} ${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>