aboutsummaryrefslogtreecommitdiffstats
path: root/www/mapedit/Makefile
blob: 179f62d7c50230284f55be8a1d9035f827289072 (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
# New ports collection makefile for:    mapedit
# Date created:     Fr   4 Apr 1997 17:45:31 MET DST
# Whom:         Andreas Klemm <andreas@klemm.gtn.com>
#
# $FreeBSD$
#

PORTNAME=   mapedit
PORTVERSION=    2.32
CATEGORIES= www
MASTER_SITES=   http://www.boutell.com/mapedit/http/
DISTNAME=   ${PORTNAME}${PORTVERSION}

MAINTAINER= araujo@bsdmail.org
COMMENT=    A WWW authoring tool to create clickable maps

RUN_DEPENDS=    ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk11

JDK_VERSION=    1.1.8
NO_BUILD=   yes

post-patch:
    @${REINPLACE_CMD} -e "s|!!LOCALBASE!!|${LOCALBASE}|" ${WRKSRC}/mapedit

pre-install:
    @${CAT} ${WRKSRC}/README.TXT
    @${ECHO_MSG} ""

do-install:
    ${MKDIR} ${PREFIX}/lib/mapedit
    ${CP} -r ${WRKSRC}/* ${PREFIX}/lib/mapedit
    ${INSTALL_SCRIPT} ${PREFIX}/lib/mapedit/mapedit ${PREFIX}/bin
    ${RM} -f ${PREFIX}/lib/mapedit/mapedit

.include <bsd.port.mk>