aboutsummaryrefslogtreecommitdiffstats
path: root/astro/xearth
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2008-03-14 03:01:04 +0800
committergahr <gahr@FreeBSD.org>2008-03-14 03:01:04 +0800
commit987846323716e78bab92dbe92087dcb8dfe43c3e (patch)
tree59412da28435906104d0d34d740d7f99f04adf80 /astro/xearth
parentbcdd3dadb57765f8d756f581b2dd0adc8b12607d (diff)
downloadfreebsd-ports-gnome-987846323716e78bab92dbe92087dcb8dfe43c3e.tar.gz
freebsd-ports-gnome-987846323716e78bab92dbe92087dcb8dfe43c3e.tar.zst
freebsd-ports-gnome-987846323716e78bab92dbe92087dcb8dfe43c3e.zip
- USE_IMAKE --> BUILD_DEPENDS and USE_XORG
Approved by: miwi (mentor)
Diffstat (limited to 'astro/xearth')
-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