1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/astro/swe/Makefile
Muhammad Moinur Rahman ba2eabb7be astro/swe: Update version 2.06=>2.07.01
- Remove USE_LDCONFIG as it installs no shared library
2018-04-23 19:28:01 +00:00

35 lines
796 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= swe
PORTVERSION= 2.07.01
CATEGORIES= astro devel
MASTER_SITES= ftp://ftp.astro.com/pub/swisseph/
DISTNAME= ${PORTNAME}_unix_src_${PORTVERSION}
MAINTAINER= bofh@FreeBSD.org
COMMENT= High Precision Ephemeris Developed By Astrodienst
LICENSE= GPLv2
WRKSRC= ${WRKDIR}/src
USES= gmake
ALL_TARGET= #
MAKE_ARGS= CFLAGS="${CFLAGS}"
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} 's|-ldl||' ${WRKSRC}/Makefile
do-install:
${INSTALL_DATA} ${WRKSRC}/libswe.a ${STAGEDIR}${PREFIX}/lib
${MKDIR} ${STAGEDIR}${PREFIX}/include/swe
${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/swe
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/doc/* ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>