0c3fb3e2d5
Suggested by and ok jasper@
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.16 2012/04/23 08:57:46 bentley Exp $
|
|
|
|
COMMENT= 3D earth viewer with GPS support
|
|
|
|
DISTNAME= gaia-0.1.2
|
|
REVISION= 8
|
|
CATEGORIES= x11 geo
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
HOMEPAGE= http://gaia-clean.sourceforge.net/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gaia-clean/}
|
|
|
|
WANTLIB += GL GLU c crypto idn m pthread ssl stdc++ z
|
|
WANTLIB += SDL>=6 gps>=19 curl>=4 png>=5 jpeg>=62
|
|
|
|
MODULES= devel/scons
|
|
MODSCONS_FLAGS= prefix=${PREFIX} \
|
|
datadir=share/gaia \
|
|
gpsd=1
|
|
|
|
NO_REGRESS= Yes
|
|
LIB_DEPENDS= devel/sdl \
|
|
misc/gpsd \
|
|
net/curl \
|
|
graphics/png \
|
|
graphics/jpeg
|
|
|
|
SUBST_VARS += CFLAGS CXXFLAGS CC CXX
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/SConstruct
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/gaia ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/gaia
|
|
${INSTALL_DATA} ${WRKBUILD}/data/font.png ${PREFIX}/share/gaia
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gaia
|
|
${INSTALL_DATA} ${WRKBUILD}/README ${PREFIX}/share/doc/gaia
|
|
|
|
.include <bsd.port.mk>
|