mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
74a3b75263
- While I'm here: - Use MAKE_ARGS instead of post-patch: - Use INSTALL_LIB for static library installation - Sort PLIST PR: ports/187391 Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)
31 lines
733 B
Makefile
31 lines
733 B
Makefile
# Created by: Wen Heping <wenheping@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= swe
|
|
PORTVERSION= 2.00.00
|
|
CATEGORIES= astro devel
|
|
MASTER_SITES= ftp://ftp.astro.com/pub/swisseph/
|
|
DISTNAME= ${PORTNAME}_unix_src_${PORTVERSION}
|
|
|
|
MAINTAINER= 5u623l20@gmail.com
|
|
COMMENT= High Precision Ephemeris Developed By Astrodienst
|
|
|
|
LICENSE= GPLv2
|
|
|
|
WRKSRC= ${WRKDIR}/src
|
|
USES= gmake
|
|
ALL_TARGET= #
|
|
MAKE_ARGS= CFLAGS="${CFLAGS}"
|
|
USE_LDCONFIG= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_LIB} ${WRKSRC}/libswe.a ${STAGEDIR}${PREFIX}/lib
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/include/swe
|
|
${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/swe
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/doc/* ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|