aboutsummaryrefslogtreecommitdiffstats
path: root/astro/xearth/Makefile
blob: 82a837a5d10892e0eee2b440e9cc2ff0c8e3b414 (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
# New ports collection makefile for:    xearth
# Date created:         29 October 1994
# Whom:                 piero
#
# $FreeBSD$
#

PORTNAME=   xearth
PORTVERSION=    1.1
PORTREVISION=   2
CATEGORIES= astro geography
MASTER_SITES=   ftp://cag.lcs.mit.edu/pub/tuna/ \
        ${MASTER_SITE_XCONTRIB:S/$/:xcontrib/} \
        ${MASTER_SITE_LOCAL:S/$/:local/}
MASTER_SITE_SUBDIR= applications/:xcontrib simon/:local
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX}:xcontrib,local

MAINTAINER= ports@FreeBSD.org
COMMENT=    Set the root window to the image of earth

BUILD_DEPENDS=  imake:${PORTSDIR}/devel/imake

USE_XORG=   x11 xext sm ice xt
MAN1=       xearth.1

pre-build:
    cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${XMKMF}

post-install:
    @${MKDIR} ${PREFIX}/lib/X11/xearth
    @${INSTALL_MAN} ${WRKSRC}/xearth.man ${MANPREFIX}/man/man1/xearth.1
# Copy the list of FreeBSD sites & committers locations
.for marker in freebsd.committers.markers freebsd.submitters.markers freebsd.ftp.markers
    @${INSTALL_DATA} ${FILESDIR}/${marker} ${PREFIX}/lib/X11/xearth
.endfor

.include <bsd.port.mk>