Lines 1-8
Link Here
|
1 |
# Created by: Wen Heping <wenheping@gmail.com> |
1 |
# Created by: Wen Heping <wenheping@gmail.com> |
2 |
# $FreeBSD: astro/swe/Makefile 327701 2013-09-20 13:14:04Z bapt $ |
2 |
# $FreeBSD: head/astro/swe/Makefile 327701 2013-09-20 13:14:04Z bapt $ |
3 |
|
3 |
|
4 |
PORTNAME= swe |
4 |
PORTNAME= swe |
5 |
PORTVERSION= 1.79.00 |
5 |
PORTVERSION= 1.80.00 |
6 |
CATEGORIES= astro devel |
6 |
CATEGORIES= astro devel |
7 |
MASTER_SITES= ftp://ftp.astro.com/pub/swisseph/ |
7 |
MASTER_SITES= ftp://ftp.astro.com/pub/swisseph/ |
8 |
DISTNAME= ${PORTNAME}_unix_src_${PORTVERSION} |
8 |
DISTNAME= ${PORTNAME}_unix_src_${PORTVERSION} |
Lines 10-16
Link Here
|
10 |
MAINTAINER= 5u623l20@gmail.com |
10 |
MAINTAINER= 5u623l20@gmail.com |
11 |
COMMENT= High Precision Ephemeris Developed By Astrodienst |
11 |
COMMENT= High Precision Ephemeris Developed By Astrodienst |
12 |
|
12 |
|
13 |
NO_STAGE= yes |
13 |
LICENSE= GPLv2 |
|
|
14 |
|
14 |
WRKSRC= ${WRKDIR}/src |
15 |
WRKSRC= ${WRKDIR}/src |
15 |
USES= gmake |
16 |
USES= gmake |
16 |
ALL_TARGET= # |
17 |
ALL_TARGET= # |
Lines 26-39
Link Here
|
26 |
${WRKSRC}/Makefile |
27 |
${WRKSRC}/Makefile |
27 |
|
28 |
|
28 |
do-install: |
29 |
do-install: |
29 |
${INSTALL_DATA} ${WRKSRC}/libswe.a ${LOCALBASE}/lib |
30 |
${INSTALL_DATA} ${WRKSRC}/libswe.a ${STAGEDIR}${PREFIX}/lib |
30 |
${MKDIR} ${LOCALBASE}/include/swe |
31 |
${MKDIR} ${STAGEDIR}${PREFIX}/include/swe |
31 |
${INSTALL_DATA} ${WRKSRC}/*.h ${LOCALBASE}/include/swe |
32 |
${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/swe |
32 |
|
33 |
|
33 |
post-install: |
34 |
post-install: |
34 |
.if ${PORT_OPTIONS:MDOCS} |
35 |
.if ${PORT_OPTIONS:MDOCS} |
35 |
${MKDIR} ${DOCSDIR} |
36 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
36 |
${INSTALL_DATA} ${WRKDIR}/doc/* ${DOCSDIR}/ |
37 |
${INSTALL_DATA} ${WRKDIR}/doc/* ${STAGEDIR}${DOCSDIR}/ |
37 |
.endif |
38 |
.endif |
38 |
|
39 |
|
39 |
.include <bsd.port.mk> |
40 |
.include <bsd.port.mk> |