aboutsummaryrefslogtreecommitdiffstats
path: root/astro/xearth/Makefile
blob: 72f9d69ac90fb771e7ca8f26eed1e713030e1ceb (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:    xearth
# Date created:         29 October 1994
# Whom:                 piero
#
# $FreeBSD$
#

PORTNAME=   xearth
PORTVERSION=    1.1
CATEGORIES= astro x11
MASTER_SITES=   ftp://cag.lcs.mit.edu/pub/tuna/ \
        ftp://ftp.cs.colorado.edu/users/tuna/ \
        ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications

MAINTAINER= ports@FreeBSD.org

USE_IMAKE=  yes

MAN1=       xearth.1

# Copy the list of FreeBSD sites
post-install:
    ${MKDIR} ${PREFIX}/lib/X11/xearth
    ${INSTALL_DATA} ${FILESDIR}/freebsd.core.markers ${PREFIX}/lib/X11/xearth
    ${INSTALL_DATA} ${FILESDIR}/freebsd.committers.markers ${PREFIX}/lib/X11/xearth
    ${INSTALL_DATA} ${FILESDIR}/freebsd.ftp.markers ${PREFIX}/lib/X11/xearth
    ${ECHO} "# All of FreeBSD's committers, including core :)" > \
        ${PREFIX}/lib/X11/xearth/freebsd.core_and_committers.markers
    ${GREP} -hv '^[[:space:]]*#' ${FILESDIR}/freebsd.core.markers \
        ${FILESDIR}/freebsd.committers.markers >> \
        ${PREFIX}/lib/X11/xearth/freebsd.core_and_committers.markers
    ${CHMOD} 0444 ${PREFIX}/lib/X11/xearth/freebsd.core_and_committers.markers

.include <bsd.port.mk>