3d6e657370
(which was a rough guess)
50 lines
1.4 KiB
Makefile
50 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.30 2006/10/05 14:58:12 jasper Exp $
|
|
|
|
COMMENT= "Draw pictures of the earth textured by an image"
|
|
|
|
DISTNAME= xplanet-1.1.2
|
|
PKGNAME= ${DISTNAME}p26
|
|
CATEGORIES= astro x11
|
|
|
|
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
|
|
WANTLIB= c charset fontconfig freetype glib-2.0 gmodule-2.0 \
|
|
gobject-2.0 iconv intl jpeg m png stdc++ z X11
|
|
|
|
BUILD_DEPENDS= ::x11/xglobe:license-check
|
|
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
|
|
|
|
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"
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${PORTSDIR}/x11/xglobe/files/OpenBSD-markers \
|
|
${PREFIX}/share/xplanet/markers/
|
|
${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>
|