summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--astro/xearth/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/astro/xearth/Makefile b/astro/xearth/Makefile
index c6a48824b757..82a837a5d108 100644
--- a/astro/xearth/Makefile
+++ b/astro/xearth/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xearth
PORTVERSION= 1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= astro geography
MASTER_SITES= ftp://cag.lcs.mit.edu/pub/tuna/ \
${MASTER_SITE_XCONTRIB:S/$/:xcontrib/} \
@@ -18,13 +18,18 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:xcontrib,local
MAINTAINER= ports@FreeBSD.org
COMMENT= Set the root window to the image of earth
-USE_IMAKE= yes
+BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake
+USE_XORG= x11 xext sm ice xt
MAN1= xearth.1
-# Copy the list of FreeBSD sites & committers locations
+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