# New ports collection makefile for:	starplot
# Date created:				Mon Aug 20 09:08:07 EDT 2001
# Whom:					Patrick Li <pat@databits.net>
#
# $FreeBSD: ports/astro/starplot/Makefile,v 1.13 2005/03/12 10:53:25 marcus Exp $
#

PORTNAME=	starplot
PORTVERSION=	0.95.2
PORTREVISION=	1
CATEGORIES=	astro
MASTER_SITES=	http://starplot.org/downloads/

MAINTAINER=	pat@FreeBSD.org
COMMENT=	3-dimensional viewer for star charts

BROKEN=		Incomplete pkg-plist

USE_X_PREFIX=	yes
USE_REINPLACE=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_GNOME=	gtk20
USE_GETTEXT=	yes
USE_ICONV=	yes
MAKE_ENV=	DOCSDIR=${DOCSDIR} EXAMPLESDIR=${EXAMPLESDIR}
CONFIGURE_ARGS=	--with-libintl-prefix=${LOCALBASE}

MAN1=		starconvert.1 starpkg.1 starplot.1

.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=	NLS="@comment "
.else
USE_GETTEXT=	yes
PLIST_SUB+=	NLS=""
.endif

.include <bsd.port.mk>
