1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/misc/earthview/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

39 lines
992 B
Makefile

# ex:ts=8
# Ports collection makefile for: earthview
# Date created: Sep 13, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= earthview
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= misc geography
MASTER_SITES= http://fresh.t-systems-sfr.com/unix/src/privat2/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Produces a view output of an arbitrary region of the Earth
USE_XORG= xpm
CFLAGS+= -I${LOCALBASE}/include
ALL_TARGET= earthview
PLIST_FILES= bin/earthview share/earthview/topography/topography.cps \
share/earthview/topography/1440x720-2x2.az2 \
share/earthview/population/population.cps \
share/earthview/population/4320x2160-6x6.pz2
PLIST_DIRS= share/earthview/topography share/earthview/population \
share/earthview
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%CC%%|${CC}|g" \
-e "s|%%CFLAGS%%|${CFLAGS}|g" -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
${WRKSRC}/Makefile
pre-build:
@${RM} -f ${WRKSRC}/earthview
.include <bsd.port.mk>