2012-09-29 16:09:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.51 2012/09/29 20:09:43 kili Exp $
|
2005-05-24 15:15:53 -04:00
|
|
|
|
2009-01-06 04:24:48 -05:00
|
|
|
COMMENT= draw pictures of the earth textured by an image
|
2005-05-24 15:15:53 -04:00
|
|
|
|
2012-09-29 05:35:33 -04:00
|
|
|
DISTNAME= xplanet-1.3.0
|
2006-11-02 02:03:29 -05:00
|
|
|
CATEGORIES= astro geo 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/}
|
|
|
|
|
2009-01-06 04:24:48 -05:00
|
|
|
# GPLv2+
|
2005-05-24 15:15:53 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-01-06 04:24:48 -05:00
|
|
|
|
2012-09-29 05:35:33 -04:00
|
|
|
WANTLIB += X11 c charset expat fontconfig freetype gif glib-2.0
|
|
|
|
WANTLIB += gobject-2.0 jpeg m pango-1.0 pangoft2-1.0 png pthread
|
|
|
|
WANTLIB += stdc++ z
|
2005-05-24 15:15:53 -04:00
|
|
|
|
2011-07-06 17:25:23 -04:00
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS= devel/pango \
|
|
|
|
graphics/libungif \
|
|
|
|
graphics/jpeg \
|
2012-09-29 05:35:33 -04:00
|
|
|
graphics/png \
|
|
|
|
devel/glib2
|
2005-05-24 15:15:53 -04:00
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
RUN_DEPENDS= geo/openbsd-developers
|
2006-12-01 11:50:38 -05:00
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
USE_GROFF = Yes
|
2006-11-13 08:01:37 -05:00
|
|
|
|
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" \
|
2007-05-19 05:06:49 -04:00
|
|
|
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
|
2005-05-24 15:15:53 -04:00
|
|
|
|
2005-07-04 08:29:00 -04:00
|
|
|
post-install:
|
2006-04-03 13:06:03 -04:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/openbsd_markers \
|
|
|
|
${PREFIX}/share/xplanet/config/
|
2012-09-29 16:09:43 -04:00
|
|
|
${INSTALL_PROGRAM_DIR} ${PREFIX}/share/xplanet/scripts
|
2006-04-03 13:06:03 -04:00
|
|
|
${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>
|