2006-11-01 06:55:34 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.36 2006/11/01 11:55:34 fkr Exp $
|
2005-05-24 15:15:53 -04:00
|
|
|
|
|
|
|
COMMENT= "Draw pictures of the earth textured by an image"
|
|
|
|
|
|
|
|
DISTNAME= xplanet-1.1.2
|
2006-11-01 06:55:34 -05:00
|
|
|
PKGNAME= ${DISTNAME}p32
|
2005-07-13 16:49:54 -04:00
|
|
|
CATEGORIES= astro x11
|
2005-05-24 15:15:53 -04:00
|
|
|
|
|
|
|
MAINTAINER= Robert Nagy <robert@openbsd.org>
|
|
|
|
|
|
|
|
HOMEPAGE= http://xplanet.sourceforge.net/
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xplanet/}
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2006-09-18 08:19:39 -04:00
|
|
|
WANTLIB= c charset fontconfig freetype glib-2.0 gmodule-2.0 \
|
|
|
|
gobject-2.0 iconv intl jpeg m png stdc++ z X11
|
2005-05-24 15:15:53 -04:00
|
|
|
|
2005-07-04 08:29:00 -04:00
|
|
|
BUILD_DEPENDS= ::x11/xglobe:license-check
|
2006-09-18 06:52:09 -04:00
|
|
|
LIB_DEPENDS= pango-1.0.>=399.1,pangoft2-1.0.>=399.1::devel/pango \
|
|
|
|
gif.>=5::graphics/libungif \
|
|
|
|
jpeg.>=62::graphics/jpeg \
|
|
|
|
png.>=4::graphics/png
|
2005-05-24 15:15:53 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --without-xscreensaver \
|
|
|
|
--without-pnm --without-tiff \
|
|
|
|
--without-cspice
|
|
|
|
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
|
|
|
|
-I${LOCALBASE}/include/libpng" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2005-07-04 08:29:00 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${PORTSDIR}/x11/xglobe/files/OpenBSD-markers \
|
|
|
|
${PREFIX}/share/xplanet/markers/
|
2006-04-03 13:06:03 -04:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/openbsd_markers \
|
|
|
|
${PREFIX}/share/xplanet/config/
|
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/openbsd_markers.sh \
|
|
|
|
${PREFIX}/share/xplanet/scripts/
|
|
|
|
|
|
|
|
@perl -pi -e 's,%%LOCALBASE%%,${LOCALBASE},' \
|
|
|
|
${PREFIX}/share/xplanet/config/openbsd_markers \
|
|
|
|
${PREFIX}/share/xplanet/scripts/openbsd_markers.sh
|
2005-07-04 08:29:00 -04:00
|
|
|
|
2005-05-24 15:15:53 -04:00
|
|
|
.include <bsd.port.mk>
|