aboutsummaryrefslogtreecommitdiff
path: root/astro/xearth/Makefile
blob: 184db1b68adece039a09456c369edfbd3c95b9cd (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
# Created by: Piero Serini <piero@FreeBSD.org>

PORTNAME=	xearth
PORTVERSION=	1.2
CATEGORIES=	astro geography
MASTER_SITES=	LOCAL/madpilot/xearth

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

LICENSE=	Xearth
LICENSE_NAME=	Xearth license
LICENSE_FILE=	${WRKSRC}/README
LICENSE_PERMS=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept

USES=		tar:xz xorg
USE_XORG=	x11 xext sm ice xt

PLIST_FILES=	bin/xearth \
		man/man1/xearth.1.gz \
		lib/X11/xearth/freebsd.committers.markers \
		lib/X11/xearth/freebsd.ftp.markers
PLIST_DIRS=	lib/X11/xearth

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

.include <bsd.port.mk>