openbsd-ports/x11/xplanet/Makefile

55 lines
1.3 KiB
Makefile
Raw Normal View History

2011-07-06 17:25:23 -04:00
# $OpenBSD: Makefile,v 1.49 2011/07/06 21:25:23 ajacoutot Exp $
COMMENT= draw pictures of the earth textured by an image
DISTNAME= xplanet-1.2.0
2011-07-06 17:25:23 -04:00
REVISION= 3
CATEGORIES= astro geo x11
MAINTAINER= Robert Nagy <robert@openbsd.org>
HOMEPAGE= http://xplanet.sourceforge.net/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xplanet/}
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 c charset expat fontconfig freetype glib-2.0 gmodule-2.0 \
2011-07-06 17:25:23 -04:00
gobject-2.0 m stdc++ z pango-1.0 gif jpeg png \
2010-07-30 04:02:59 -04:00
pangoft2-1.0
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 \
graphics/png
2010-11-22 03:36:47 -05:00
RUN_DEPENDS= geo/openbsd-developers
2010-11-22 03:36:47 -05:00
USE_GROFF = Yes
2006-11-13 08:01:37 -05: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${X11BASE}/lib -L${LOCALBASE}/lib"
post-install:
${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
.include <bsd.port.mk>