mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- Update to 2.13.2
- Support staging
This commit is contained in:
parent
f7b0579178
commit
408d3eb35d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330480
@ -2,12 +2,12 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= xtide
|
PORTNAME= xtide
|
||||||
PORTVERSION= 2.13.1
|
PORTVERSION= 2.13.2
|
||||||
CATEGORIES= astro geography
|
CATEGORIES= astro geography
|
||||||
MASTER_SITES= ftp://ftp.flaterco.com/xtide/ \
|
MASTER_SITES= ftp://ftp.flaterco.com/xtide/ \
|
||||||
http://www.c-s.li/ports/
|
http://www.c-s.li/ports/
|
||||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
||||||
${TCD_DISTNAME}${EXTRACT_SUFX} \
|
${TCD_DISTNAME}-r3${EXTRACT_SUFX} \
|
||||||
${HARM_DISTNAME}-free${EXTRACT_SUFX}
|
${HARM_DISTNAME}-free${EXTRACT_SUFX}
|
||||||
|
|
||||||
MAINTAINER= cs@FreeBSD.org
|
MAINTAINER= cs@FreeBSD.org
|
||||||
@ -17,16 +17,12 @@ LICENSE= GPLv3
|
|||||||
|
|
||||||
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
|
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
USES= gmake
|
USES= gmake
|
||||||
USE_GCC= yes
|
USE_GCC= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
MAN1= tide.1
|
CPPFLAGS+= -I../${TCD_DISTNAME} -I${LOCALBASE}/include/libpng15 -Wno-deprecated-declarations
|
||||||
MAN8= xttpd.8
|
|
||||||
|
|
||||||
CPPFLAGS+= -I../${TCD_DISTNAME} -I${LOCALBASE}/include/libpng15
|
|
||||||
LDFLAGS+= -L../${TCD_DISTNAME}/.libs -L${LOCALBASE}/lib
|
LDFLAGS+= -L../${TCD_DISTNAME}/.libs -L${LOCALBASE}/lib
|
||||||
|
|
||||||
TCD_DISTNAME= libtcd-2.2.5
|
TCD_DISTNAME= libtcd-2.2.5
|
||||||
@ -51,7 +47,6 @@ ALL_TARGET+= tide xttpd
|
|||||||
PLIST_SUB+= X11="@comment "
|
PLIST_SUB+= X11="@comment "
|
||||||
.else
|
.else
|
||||||
USE_XORG+= xpm xaw
|
USE_XORG+= xpm xaw
|
||||||
MAN1+= xtide.1
|
|
||||||
PLIST_SUB+= X11=""
|
PLIST_SUB+= X11=""
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
@ -78,32 +73,27 @@ post-configure:
|
|||||||
< ${FILESDIR}/xtide.conf.example > ${WRKDIR}/xtide.conf.example
|
< ${FILESDIR}/xtide.conf.example > ${WRKDIR}/xtide.conf.example
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/tide ${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/tide ${STAGEDIR}${PREFIX}/bin
|
||||||
.if ${PORT_OPTIONS:MX11}
|
.if ${PORT_OPTIONS:MX11}
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/xtide ${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/xtide ${STAGEDIR}${PREFIX}/bin
|
||||||
${INSTALL_MAN} ${WRKSRC}/xtide.1 ${MANPREFIX}/man/man1
|
${INSTALL_MAN} ${WRKSRC}/xtide.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||||
.endif
|
.endif
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/xttpd ${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/xttpd ${STAGEDIR}${PREFIX}/bin
|
||||||
${INSTALL_MAN} ${WRKSRC}/tide.1 ${MANPREFIX}/man/man1
|
${INSTALL_MAN} ${WRKSRC}/tide.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||||
${INSTALL_MAN} ${WRKSRC}/xttpd.8 ${MAN8PREFIX}/man/man8
|
${INSTALL_MAN} ${WRKSRC}/xttpd.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
|
||||||
@${MKDIR} ${DATADIR}
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/harmonics.tcd ${DATADIR}
|
${INSTALL_DATA} ${WRKSRC}/harmonics.tcd ${STAGEDIR}${DATADIR}
|
||||||
${INSTALL_DATA} ${WRKDIR}/xtide.conf.example ${PREFIX}/etc
|
${INSTALL_DATA} ${WRKDIR}/xtide.conf.example ${STAGEDIR}${PREFIX}/etc
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !exists(${PREFIX}/etc/xtide.conf)
|
|
||||||
${INSTALL_DATA} ${WRKDIR}/xtide.conf.example ${PREFIX}/etc/xtide.conf
|
|
||||||
${CHMOD} 644 ${PREFIX}/etc/xtide.conf
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MWVS}
|
.if ${PORT_OPTIONS:MWVS}
|
||||||
@${MKDIR} ${DATADIR}/wvs
|
@${MKDIR} ${STAGEDIR}${DATADIR}/wvs
|
||||||
${INSTALL_DATA} ${WRKDIR}/wvs1.dat ${DATADIR}/wvs
|
${INSTALL_DATA} ${WRKDIR}/wvs1.dat ${STAGEDIR}${DATADIR}/wvs
|
||||||
${INSTALL_DATA} ${WRKDIR}/wvs12.dat ${DATADIR}/wvs
|
${INSTALL_DATA} ${WRKDIR}/wvs12.dat ${STAGEDIR}${DATADIR}/wvs
|
||||||
${INSTALL_DATA} ${WRKDIR}/wvs250k.dat ${DATADIR}/wvs
|
${INSTALL_DATA} ${WRKDIR}/wvs250k.dat ${STAGEDIR}${DATADIR}/wvs
|
||||||
${INSTALL_DATA} ${WRKDIR}/wvs3.dat ${DATADIR}/wvs
|
${INSTALL_DATA} ${WRKDIR}/wvs3.dat ${STAGEDIR}${DATADIR}/wvs
|
||||||
${INSTALL_DATA} ${WRKDIR}/wvs43.dat ${DATADIR}/wvs
|
${INSTALL_DATA} ${WRKDIR}/wvs43.dat ${STAGEDIR}${DATADIR}/wvs
|
||||||
${INSTALL_DATA} ${WRKDIR}/wvsfull.dat ${DATADIR}/wvs
|
${INSTALL_DATA} ${WRKDIR}/wvsfull.dat ${STAGEDIR}${DATADIR}/wvs
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
SHA256 (xtide-2.13.1.tar.bz2) = f537377223ebc073998bbf2c7c475e57374ee60a638e29d029f84ba01fb6f365
|
SHA256 (xtide-2.13.2.tar.bz2) = fabf6b3097bb345598649ea55d1f2db269cbb651cddd73c60a9768088173d542
|
||||||
SIZE (xtide-2.13.1.tar.bz2) = 476238
|
SIZE (xtide-2.13.2.tar.bz2) = 481183
|
||||||
SHA256 (libtcd-2.2.5.tar.bz2) = 83d8b5661673eb841417e9aa7b14b3c1d233a6adf836c7d21805ff376165a1d6
|
SHA256 (libtcd-2.2.5-r3.tar.bz2) = f837aa45421236732580e6fa73b79f539b9e778bebe22dbd3ca43b2c6a550e9e
|
||||||
SIZE (libtcd-2.2.5.tar.bz2) = 271494
|
SIZE (libtcd-2.2.5-r3.tar.bz2) = 300804
|
||||||
SHA256 (harmonics-dwf-20121224-free.tar.bz2) = d80d7e99181c60a42660392abbe25789c395453dd88944c41dc19c7f4b0f11be
|
SHA256 (harmonics-dwf-20121224-free.tar.bz2) = d80d7e99181c60a42660392abbe25789c395453dd88944c41dc19c7f4b0f11be
|
||||||
SIZE (harmonics-dwf-20121224-free.tar.bz2) = 508967
|
SIZE (harmonics-dwf-20121224-free.tar.bz2) = 508967
|
||||||
SHA256 (wvs.tar.bz2) = 4e996ce2e608d612ba78e35cdf50c2c73b01fce06bd5b561a7fe957ea75d6d75
|
SHA256 (wvs.tar.bz2) = 4e996ce2e608d612ba78e35cdf50c2c73b01fce06bd5b561a7fe957ea75d6d75
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
bin/tide
|
bin/tide
|
||||||
%%X11%%bin/xtide
|
%%X11%%bin/xtide
|
||||||
bin/xttpd
|
bin/xttpd
|
||||||
|
man/man1/tide.1.gz
|
||||||
|
%%X11%%man/man1/xtide.1.gz
|
||||||
|
man/man8/xttpd.8.gz
|
||||||
%%DATADIR%%/harmonics.tcd
|
%%DATADIR%%/harmonics.tcd
|
||||||
%%WVS%%%%DATADIR%%/wvs/wvs1.dat
|
%%WVS%%%%DATADIR%%/wvs/wvs1.dat
|
||||||
%%WVS%%%%DATADIR%%/wvs/wvs12.dat
|
%%WVS%%%%DATADIR%%/wvs/wvs12.dat
|
||||||
@ -10,6 +13,6 @@ bin/xttpd
|
|||||||
%%WVS%%%%DATADIR%%/wvs/wvsfull.dat
|
%%WVS%%%%DATADIR%%/wvs/wvsfull.dat
|
||||||
%%WVS%%@dirrm %%DATADIR%%/wvs
|
%%WVS%%@dirrm %%DATADIR%%/wvs
|
||||||
@dirrm %%DATADIR%%
|
@dirrm %%DATADIR%%
|
||||||
@unexec if cmp -s %D/etc/xtide.conf.example %D/etc/xtide.conf; then rm -f %D/etc/xtide.conf; fi
|
@unexec if cmp -s %D/etc/xtide.conf %D/etc/xtide.conf.example ; then rm -f %D/etc/xtide.conf ; fi
|
||||||
etc/xtide.conf.example
|
etc/xtide.conf.example
|
||||||
@exec if [ ! -f %D/etc/xtide.conf ] ; then cp -p %D/%F %B/xtide.conf; fi
|
@exec if [ ! -f %D/etc/xtide.conf ]; then cp -p %D/%F %B/xtide.conf; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user