# ex:ts=8
# Ports collection makefile for:	libnova
# Date created:			Oct 23, 2002
# Whom:				ijliao
#
# $FreeBSD: ports/astro/libnova/Makefile,v 1.28 2009/01/05 17:27:21 pav Exp $
#

PORTNAME=	libnova
PORTVERSION=	0.12.2
CATEGORIES=	astro
MASTER_SITES=	SF

MAINTAINER=	adox@mcx2.org
COMMENT=	Astronomical Calculation Library

USE_AUTOTOOLS=	libtool:15
USE_GNOME=	gnometarget lthack
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

#post-extract:
#	@${TAR} xf ${WRKDIR}/${PORTNAME}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} -C ${WRKDIR}

post-patch:
	@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure

.include <bsd.port.mk>
