aboutsummaryrefslogtreecommitdiffstats
path: root/astro/xrmap/Makefile
blob: b64cf828bb39285eb2378188bb535e884780f18b (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
# New ports collection makefile for:    xrmap
# Date created:             25 Dec 2001
# Whom:                 petef
#
# $FreeBSD$
#

PORTNAME=   xrmap
PORTVERSION=    2.10
CATEGORIES= misc
MASTER_SITES=   ftp://ftp.ac-grenoble.fr/ge/geosciences/xrmap/
EXTRACT_SUFX=   .tgz

MAINTAINER= petef@FreeBSD.org

USE_IMAKE=  yes
USE_XPM=    yes

MAN1=   xrmap.1

PKGMESSAGE= ${WRKDIR}/pkg-message

post-patch:
    @${PERL} -pi -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/Imakefile

post-install:
    @${SED} "s,%%PREFIX%%,${PREFIX}," < ${FILESDIR}/pkg-message.in > \
        ${PKGMESSAGE}
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>