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

(-)astro/starplot/Makefile (-12 / +6 lines)
Lines 6-35 Link Here
6
#
6
#
7
7
8
PORTNAME=	starplot
8
PORTNAME=	starplot
9
PORTVERSION=	0.95.4
9
PORTVERSION=	0.95.5
10
PORTREVISION=	1
11
CATEGORIES=	astro
10
CATEGORIES=	astro
12
MASTER_SITES=	http://starplot.org/downloads/
11
MASTER_SITES=	http://starplot.org/downloads/
13
12
14
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	3-dimensional viewer for star charts
14
COMMENT=	3-dimensional viewer for star charts
16
15
17
USE_GNOME=	gnometarget gtk20
16
USE_GNOME=	gnomehack gnometarget gtk20
18
USE_ICONV=	yes
17
USE_GETTEXT=	yes
19
USE_GMAKE=	yes
18
USE_GMAKE=	yes
20
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
21
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
20
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
22
		LDFLAGS="-L${LOCALBASE}/lib"
21
		LDFLAGS="-L${LOCALBASE}/lib"
23
MAKE_ENV=	DOCSDIR="${DOCSDIR}" EXAMPLESDIR="${EXAMPLESDIR}"
24
22
25
MAN1=		starconvert.1 starpkg.1 starplot.1
23
MAN1=		starconvert.1 starpkg.1 starplot.1
26
24
27
.if defined(WITHOUT_NLS)
25
post-patch:
28
CONFIGURE_ARGS+=	--disable-nls
26
	@${REINPLACE_CMD} -e \
29
PLIST_SUB+=	NLS="@comment "
27
		's|$$(docdir)/examples|${EXAMPLESDIR}|g' ${WRKSRC}/configure
30
.else
31
USE_GETTEXT=	yes
32
PLIST_SUB+=	NLS=""
33
.endif
34
28
35
.include <bsd.port.mk>
29
.include <bsd.port.mk>
(-)astro/starplot/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (starplot-0.95.4.tar.gz) = 59a6c8fe7167d2b5efa824e6ebac9d6f
1
MD5 (starplot-0.95.5.tar.gz) = ff51981f48240b234f24448510ed089c
2
SHA256 (starplot-0.95.4.tar.gz) = 7e0de4132e634a1d5a3552f42a85022428b4933834ec36f424af6a6488d1352f
2
SHA256 (starplot-0.95.5.tar.gz) = e320f141b736b3a6468e7d0c08a93961db6615e9eb4d533d554eea31c3fa845a
3
SIZE (starplot-0.95.4.tar.gz) = 470863
3
SIZE (starplot-0.95.5.tar.gz) = 892878
(-)astro/starplot/files/patch-configure (-17 lines)
Lines 1-17 Link Here
1
--- configure.orig	Mon Aug 30 09:02:54 2004
2
+++ configure	Thu Dec 23 16:04:03 2004
3
@@ -9827,11 +9827,11 @@
4
 
5
 
6
 
7
-docdir='${prefix}/doc'
8
+docdir='$(DOCSDIR)'
9
 
10
-pkgdocdir='$(docdir)/'${PACKAGE_NAME}
11
+pkgdocdir='$(DOCSDIR)'
12
 
13
-exampledir='$(pkgdocdir)/examples'
14
+exampledir='$(EXAMPLESDIR)'
15
 
16
 htmldir='$(pkgdocdir)/html'
17
 
(-)astro/starplot/files/patch-src-classes-strings.cc (-11 lines)
Lines 1-11 Link Here
1
--- src/classes/strings.cc.orig	Tue Oct  3 18:28:35 2006
2
+++ src/classes/strings.cc	Tue Oct  3 18:28:44 2006
3
@@ -127,7 +127,7 @@
4
   // return the number of bytes that would have been written even if not
5
   // all of them are.  Hope this is true...
6
   va_start(args, format);
7
-  size_t size = std::vsnprintf(test, 2, format, args);
8
+  size_t size = vsnprintf(test, 2, format, args);
9
   va_end(args);
10
 
11
   // Write the result to a string
(-)astro/starplot/pkg-plist (-3 / +48 lines)
Lines 1-21 Link Here
1
bin/starconvert
1
bin/starconvert
2
bin/starpkg
2
bin/starpkg
3
bin/starplot
3
bin/starplot
4
share/applications/starplot.desktop
5
%%DOCSDIR%%/html/ch0.html
4
%%DOCSDIR%%/html/ch1.html
6
%%DOCSDIR%%/html/ch1.html
7
%%DOCSDIR%%/html/ch2.html
8
%%DOCSDIR%%/html/ch3.html
9
%%DOCSDIR%%/html/ch4.html
10
%%DOCSDIR%%/html/ch5.html
5
%%DOCSDIR%%/html/images/bayerdes.png
11
%%DOCSDIR%%/html/images/bayerdes.png
12
%%DOCSDIR%%/html/images/button-brighter.png
13
%%DOCSDIR%%/html/images/button-ccw.png
14
%%DOCSDIR%%/html/images/button-cw.png
15
%%DOCSDIR%%/html/images/button-dimmer.png
16
%%DOCSDIR%%/html/images/button-down.png
17
%%DOCSDIR%%/html/images/button-earthview.png
18
%%DOCSDIR%%/html/images/button-open.png
19
%%DOCSDIR%%/html/images/button-up.png
20
%%DOCSDIR%%/html/images/button-zoomin.png
21
%%DOCSDIR%%/html/images/button-zoomout.png
6
%%DOCSDIR%%/html/images/coords.png
22
%%DOCSDIR%%/html/images/coords.png
23
%%DOCSDIR%%/html/images/dialog-define-chart.png
24
%%DOCSDIR%%/html/images/dialog-file-open.png
25
%%DOCSDIR%%/html/images/dialog-search.png
26
%%DOCSDIR%%/html/images/filebar.png
7
%%DOCSDIR%%/html/images/gcoords.png
27
%%DOCSDIR%%/html/images/gcoords.png
8
%%DOCSDIR%%/html/images/hrdiagram.png
28
%%DOCSDIR%%/html/images/hrdiagram.png
29
%%DOCSDIR%%/html/images/legend.png
30
%%DOCSDIR%%/html/images/menu-chart.png
31
%%DOCSDIR%%/html/images/menu-file.png
32
%%DOCSDIR%%/html/images/star-parts.png
33
%%DOCSDIR%%/html/images/star-popup.png
34
%%DOCSDIR%%/html/images/starplot-png.png
35
%%DOCSDIR%%/html/images/status.png
36
%%DOCSDIR%%/html/images/tour-40ly-reddwarfs.png
37
%%DOCSDIR%%/html/images/tour-40ly.png
38
%%DOCSDIR%%/html/images/tour-arcturus.png
39
%%DOCSDIR%%/html/images/tour-first.png
40
%%DOCSDIR%%/html/images/tour-galplane.png
41
%%DOCSDIR%%/html/images/tour-hr-diagram.png
42
%%DOCSDIR%%/html/images/tour-hyades.png
43
%%DOCSDIR%%/html/images/tour-legend-sun.png
44
%%DOCSDIR%%/html/images/tour-scocen.png
45
%%DOCSDIR%%/html/images/tour-sunlike-info.png
46
%%DOCSDIR%%/html/images/tour-sunlike.png
47
%%DOCSDIR%%/html/images/ui-parts.png
9
%%DOCSDIR%%/html/index.html
48
%%DOCSDIR%%/html/index.html
49
%%DOCSDIR%%/html/parfiles/galplane.par
50
%%DOCSDIR%%/html/parfiles/hyades.par
51
%%DOCSDIR%%/html/parfiles/scocen.par
10
%%DOCSDIR%%/html/starplot.css
52
%%DOCSDIR%%/html/starplot.css
11
%%EXAMPLESDIR%%/example.spec
53
%%EXAMPLESDIR%%/example.spec
12
%%NLS%%share/locale/en@boldquot/LC_MESSAGES/starplot.mo
54
share/locale/en@boldquot/LC_MESSAGES/starplot.mo
13
%%NLS%%share/locale/en@quot/LC_MESSAGES/starplot.mo
55
share/locale/en@quot/LC_MESSAGES/starplot.mo
14
%%NLS%%share/locale/es/LC_MESSAGES/starplot.mo
56
share/locale/es/LC_MESSAGES/starplot.mo
57
share/pixmaps/starplot32x32.xpm
15
%%DATADIR%%/sample.stars
58
%%DATADIR%%/sample.stars
16
%%DATADIR%%/test.stars
59
%%DATADIR%%/test.stars
17
@dirrm %%DATADIR%%
60
@dirrm %%DATADIR%%
18
@dirrm %%EXAMPLESDIR%%
61
@dirrm %%EXAMPLESDIR%%
62
@dirrm %%DOCSDIR%%/html/parfiles
19
@dirrm %%DOCSDIR%%/html/images
63
@dirrm %%DOCSDIR%%/html/images
20
@dirrm %%DOCSDIR%%/html
64
@dirrm %%DOCSDIR%%/html
21
@dirrm %%DOCSDIR%%
65
@dirrm %%DOCSDIR%%
Lines 23-25 Link Here
23
@dirrmtry share/locale/en@boldquot
67
@dirrmtry share/locale/en@boldquot
24
@dirrmtry share/locale/en@quot/LC_MESSAGES
68
@dirrmtry share/locale/en@quot/LC_MESSAGES
25
@dirrmtry share/locale/en@quot
69
@dirrmtry share/locale/en@quot
70
@dirrmtry share/applications

Return to bug 123865