Files
ports/astro/libnova/Makefile
T
Älven 6cf40a435f astro/libnova: fix fetching, improve port
* Pull sources from Gentoo repo because upstream stopped tarball
  releases after v0.15
* Clarify LICENSE
* Patch to remove hardcoded AM_FLAGS
* Patch to fix linking with libelp

PR:		292368
Reported by:	diizzy@
Approved by:	db@, yuri@ (Mentors, implicit)
MFH:		2025Q4
2026-01-12 13:00:22 +04:00

28 lines
616 B
Makefile

PORTNAME= libnova
DISTVERSION= 0.16.0
PORTREVISION= 1
CATEGORIES= astro
# Pull from Gentoo repo because upstream stopped tarball releases after v0.15
MASTER_SITES= https://dev.gentoo.org/~asturm/distfiles/
MAINTAINER= alven@FreeBSD.org
COMMENT= Astronomical Calculation Library
WWW= https://libnova.sourceforge.net/
LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf libtool tar:xz
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
PLIST_SUB= SOVERSION=${DISTVERSION:R}
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure.ac
.include <bsd.port.mk>