aboutsummaryrefslogtreecommitdiffstats
path: root/databases/arcexplorer/Makefile
blob: 274172d01686db859733624c41effad5f40244a7 (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
# New ports collection makefile for:    arcexplorer
# Date created:             09 July 2002
# Whom:                 Chris D. Faulhaber <jedgar@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   arcexplorer
PORTVERSION=    4.0
CATEGORIES= databases java
MASTER_SITES=   #
DISTNAME=   Linux_ArcExplorer${PORTVERSION}
EXTRACT_SUFX=   .tar.Z

MAINTAINER= jedgar@FreeBSD.org

USE_JAVA=   1.2+

DOWNLOAD_URL=   http://www.esri.com/software/arcexplorer/download4.html
NO_BUILD=   yes
NO_BUILD_DEPENDS_JAVA= yes
USE_REINPLACE=  yes
WRKSRC=     ${WRKDIR}/ArcExplorer${PORTVERSION}

.include <bsd.port.pre.mk>

.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE=You must manually fetch the ArcExplorer 4.0 tarball (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif

do-install:
    ${TAR} -xvf ${WRKSRC}/02.tar -C ${PREFIX}/lib
    @${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/lib/aej40exe
    @${REINPLACE_CMD} -e 's|/bin/ksh|/bin/sh|' \
        ${PREFIX}/lib/aej40exe/bin/aejava
    @${RM} ${PREFIX}/lib/aej40exe/bin/aejava.bak

post-install:
    @${ECHO_CMD}
    @${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|'
    @${ECHO_CMD}

.include <bsd.port.post.mk>