summaryrefslogtreecommitdiff
path: root/astro/libnova/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'astro/libnova/Makefile')
-rw-r--r--astro/libnova/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/astro/libnova/Makefile b/astro/libnova/Makefile
index df8da07d9c9a..74b4b8fce230 100644
--- a/astro/libnova/Makefile
+++ b/astro/libnova/Makefile
@@ -7,25 +7,30 @@
#
PORTNAME= libnova
-PORTVERSION= 0.11.0
-PORTREVISION= 2
+PORTVERSION= 0.12.0
CATEGORIES= astro
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}_${PORTVERSION}-1
MAINTAINER= ports@FreeBSD.org
COMMENT= Astronomical Calculation Library
USE_GNOME= gnometarget lthack
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 503000
IGNORE= requires FreeBSD 5.3 or higher
.endif
+post-extract:
+ @${TAR} xf ${WRKDIR}/${PORTNAME}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} -C ${WRKDIR}
+
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure