View | Details | Raw Unified | Return to bug 145925
Collapse All | Expand All

(-)new.xtide/Makefile (-15 / +26 lines)
Lines 7-20 Link Here
7
7
8
PORTNAME=	xtide
8
PORTNAME=	xtide
9
PORTVERSION=	2.10
9
PORTVERSION=	2.10
10
PORTREVISION=	3
10
PORTREVISION=	4
11
CATEGORIES=	astro geography
11
CATEGORIES=	astro geography
12
MASTER_SITES=	ftp://ftp.flaterco.com/xtide/
12
MASTER_SITES=	ftp://ftp.flaterco.com/xtide/
13
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
13
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
14
		libtcd-2.2.3.tar.bz2 \
14
		libtcd-2.2.4.tar.bz2 \
15
		harmonics-dwf-20071228-free.tcd.bz2
15
		harmonics-dwf-20091227-free.tar.bz2
16
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX} \
16
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX} \
17
		libtcd-2.2.3.tar.bz2
17
		libtcd-2.2.4.tar.bz2
18
18
19
MAINTAINER=	ports@FreeBSD.org
19
MAINTAINER=	ports@FreeBSD.org
20
COMMENT=	Harmonic tide clock and tide predictor
20
COMMENT=	Harmonic tide clock and tide predictor
Lines 22-49 Link Here
22
LIB_DEPENDS=	png.6:${PORTSDIR}/graphics/png
22
LIB_DEPENDS=	png.6:${PORTSDIR}/graphics/png
23
23
24
USE_BZIP2=	yes
24
USE_BZIP2=	yes
25
USE_XORG=	xpm xaw
26
USE_GNOME=	gnometarget
27
USE_GMAKE=	yes
25
USE_GMAKE=	yes
28
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
29
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
27
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
28
MAN1=		tide.1
29
PLIST_FILES=	bin/tide bin/xttpd %%DATADIR%%/harmonics.tcd
30
30
31
MAN1=		tide.1 xtide.1
32
MAN8=		xttpd.8
31
MAN8=		xttpd.8
33
PLIST_FILES=	bin/tide bin/xtide bin/xttpd %%DATADIR%%/harmonics.tcd
34
PLIST_DIRS=	%%DATADIR%%
32
PLIST_DIRS=	%%DATADIR%%
35
33
36
CPPFLAGS=	-I../libtcd-2.2.3 -I${LOCALBASE}/include/libpng
34
.if defined(WITHOUT_X11)
37
LDFLAGS=	-L../libtcd-2.2.3/.libs -L${LOCALBASE}/lib
35
PKGNAMESUFFIX=  -nox11
36
ALL_TARGET= 	tide xttpd
37
.else
38
USE_XORG=	xpm xaw
39
USE_GNOME=	gnometarget
40
MAN1+=		xtide.1
41
PLIST_FILES+=	bin/xtide
42
.endif
43
44
CPPFLAGS=	-I../libtcd-2.2.4 -I${LOCALBASE}/include/libpng
45
LDFLAGS=	-L../libtcd-2.2.4/.libs -L${LOCALBASE}/lib
38
46
39
.include <bsd.port.pre.mk>
47
.include <bsd.port.pre.mk>
40
48
41
post-extract:
49
post-extract:
42
	@${BZCAT} ${DISTDIR}/harmonics-dwf-20071228-free.tcd.bz2 \
50
	@cd $(DISTDIR);${TAR} xzf ${DISTDIR}/harmonics-dwf-20091227-free.tar.bz2
43
		> ${WRKSRC}/harmonics.tcd
51
	@$(MV) $(DISTDIR)/harmonics-dwf-20091227-free.tcd \
52
		 ${WRKSRC}/harmonics.tcd
44
53
45
post-patch:
54
post-patch:
46
	@${REINPLACE_CMD} -e 's|== yes|= yes|g' ${WRKDIR}/libtcd-2.2.3/configure
55
	@${REINPLACE_CMD} -e 's|== yes|= yes|g' ${WRKDIR}/libtcd-2.2.4/configure
47
	@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
56
	@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
48
		-e 's|png_check_sig|png_sig_cmp|' ${WRKSRC}/configure
57
		-e 's|png_check_sig|png_sig_cmp|' ${WRKSRC}/configure
49
	@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/configure
58
	@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/configure
Lines 52-58 Link Here
52
.endfor
61
.endfor
53
62
54
pre-configure:
63
pre-configure:
55
	@cd ${WRKDIR}/libtcd-2.2.3 \
64
	@cd ${WRKDIR}/libtcd-2.2.4 \
56
		&& ${SETENV} ${CONFIGURE_ENV} \
65
		&& ${SETENV} ${CONFIGURE_ENV} \
57
			CC="${CC}" CFLAGS="${CFLAGS}" \
66
			CC="${CC}" CFLAGS="${CFLAGS}" \
58
			CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
67
			CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
Lines 62-71 Link Here
62
71
63
do-install:
72
do-install:
64
	${INSTALL_PROGRAM} ${WRKSRC}/tide ${PREFIX}/bin
73
	${INSTALL_PROGRAM} ${WRKSRC}/tide ${PREFIX}/bin
74
.if !defined(WITHOUT_X11)
65
	${INSTALL_PROGRAM} ${WRKSRC}/xtide ${PREFIX}/bin
75
	${INSTALL_PROGRAM} ${WRKSRC}/xtide ${PREFIX}/bin
76
	${INSTALL_MAN} ${WRKSRC}/xtide.1 ${MANPREFIX}/man/man1
77
.endif
66
	${INSTALL_PROGRAM} ${WRKSRC}/xttpd ${PREFIX}/bin
78
	${INSTALL_PROGRAM} ${WRKSRC}/xttpd ${PREFIX}/bin
67
	${INSTALL_MAN} ${WRKSRC}/tide.1 ${MANPREFIX}/man/man1
79
	${INSTALL_MAN} ${WRKSRC}/tide.1 ${MANPREFIX}/man/man1
68
	${INSTALL_MAN} ${WRKSRC}/xtide.1 ${MANPREFIX}/man/man1
69
	${INSTALL_MAN} ${WRKSRC}/xttpd.8 ${MAN8PREFIX}/man/man8
80
	${INSTALL_MAN} ${WRKSRC}/xttpd.8 ${MAN8PREFIX}/man/man8
70
	@${MKDIR} ${DATADIR}
81
	@${MKDIR} ${DATADIR}
71
	${INSTALL_DATA} ${WRKSRC}/harmonics.tcd ${DATADIR}
82
	${INSTALL_DATA} ${WRKSRC}/harmonics.tcd ${DATADIR}
(-)new.xtide/distinfo (-6 / +6 lines)
Lines 1-9 Link Here
1
MD5 (xtide-2.10.tar.bz2) = a14d9db748a86bed37769f38c4320ddd
1
MD5 (xtide-2.10.tar.bz2) = a14d9db748a86bed37769f38c4320ddd
2
SHA256 (xtide-2.10.tar.bz2) = 3b19ae183149c07733580b1ce5e7c2d330efecb4e8817fafed9a74daf4388ab5
2
SHA256 (xtide-2.10.tar.bz2) = 3b19ae183149c07733580b1ce5e7c2d330efecb4e8817fafed9a74daf4388ab5
3
SIZE (xtide-2.10.tar.bz2) = 393882
3
SIZE (xtide-2.10.tar.bz2) = 393882
4
MD5 (libtcd-2.2.3.tar.bz2) = 26d06f6f12371fac48b679af37aa94ec
4
MD5 (libtcd-2.2.4.tar.bz2) = 7fe3a0604a048b604497bbbf055958f3
5
SHA256 (libtcd-2.2.3.tar.bz2) = be356f4dafb51cd8afedfa5d8a08eb55b06f3b29b158052c88625da11b32c6d8
5
SHA256 (libtcd-2.2.4.tar.bz2) = 601da0d17758127161869ecfb02eff6915f2d2ba797682dcdd29575fc284f820
6
SIZE (libtcd-2.2.3.tar.bz2) = 249846
6
SIZE (libtcd-2.2.4.tar.bz2) = 250070
7
MD5 (harmonics-dwf-20071228-free.tcd.bz2) = 1f9802af5a1b17491b31b6c827b56bf3
7
MD5 (harmonics-dwf-20091227-free.tar.bz2) = 1dad5ae62f85b33b7ca249a08473ca79
8
SHA256 (harmonics-dwf-20071228-free.tcd.bz2) = 55563837650e217b7730e37a2c3b90b2b61fe1ae33d51e5c3249cd533e2dbbd0
8
SHA256 (harmonics-dwf-20091227-free.tar.bz2) = 31cc47a7404b69d869d43f3a7f93bfe0dd3721fa081d9a3985a6cec6f20b7790
9
SIZE (harmonics-dwf-20071228-free.tcd.bz2) = 400031
9
SIZE (harmonics-dwf-20091227-free.tar.bz2) = 472946

Return to bug 145925