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

(-)./Makefile (-10 / +11 lines)
Lines 2-9 Link Here
2
# $FreeBSD: head/astro/viking/Makefile 316684 2013-04-27 18:31:47Z mva $
2
# $FreeBSD: head/astro/viking/Makefile 316684 2013-04-27 18:31:47Z mva $
3
3
4
PORTNAME=	viking
4
PORTNAME=	viking
5
PORTVERSION=	1.4
5
PORTVERSION=	1.4.1
6
PORTREVISION=	1
7
CATEGORIES=	astro
6
CATEGORIES=	astro
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/
9
8
Lines 23-34 Link Here
23
		xcb:${PORTSDIR}/x11/libxcb
22
		xcb:${PORTSDIR}/x11/libxcb
24
RUN_DEPENDS=	gpsbabel:${PORTSDIR}/astro/gpsbabel
23
RUN_DEPENDS=	gpsbabel:${PORTSDIR}/astro/gpsbabel
25
24
26
USES=		iconv pkgconfig
25
USES=		iconv desktop-file-utils pkgconfig
27
USE_GMAKE=	yes
28
GNU_CONFIGURE=	yes
29
USE_XORG=	pixman x11 xau xcomposite xcursor xdamage xdmcp xext \
26
USE_XORG=	pixman x11 xau xcomposite xcursor xdamage xdmcp xext \
30
		xfixes xi xinerama xrandr xrender
27
		xfixes xi xinerama xrandr xrender
31
USE_GNOME=	desktopfileutils gnomedocutils gtk20
28
USE_GNOME=	gnomedocutils gtk20
29
GNU_CONFIGURE=	yes
30
USE_GMAKE=	yes
32
USE_PERL5_RUN=	yes
31
USE_PERL5_RUN=	yes
33
INSTALLS_ICONS=	yes
32
INSTALLS_ICONS=	yes
34
INSTALLS_OMF=	yes
33
INSTALLS_OMF=	yes
Lines 39-49 Link Here
39
38
40
PORTDOCS=	AUTHORS ChangeLog NEWS README TODO
39
PORTDOCS=	AUTHORS ChangeLog NEWS README TODO
41
40
42
OPTIONS_DEFINE=	GEOTAG GPSD
41
OPTIONS_DEFINE=	NLS GEOTAG GPSD
43
OPTIONS_DEFAULT=	GEOTAG
42
44
GEOTAG_DESC=	Geotag support
43
GEOTAG_DESC=	Geotag support
45
GPSD_DESC=	Realtime GPS tracking
44
GPSD_DESC=	Realtime GPS tracking
46
45
46
OPTIONS_DEFAULT=	GEOTAG
47
47
.include <bsd.port.options.mk>
48
.include <bsd.port.options.mk>
48
49
49
.if ${PORT_OPTIONS:MNLS}
50
.if ${PORT_OPTIONS:MNLS}
Lines 68-73 Link Here
68
69
69
post-patch:
70
post-patch:
70
	@${REINPLACE_CMD} -e '/^AM_CFLAGS/s| -g | |' ${WRKSRC}/src/Makefile.in
71
	@${REINPLACE_CMD} -e '/^AM_CFLAGS/s| -g | |' ${WRKSRC}/src/Makefile.in
72
	@${REINPLACE_CMD} -e 's|Science;|Education;Science;|' ${WRKSRC}/src/viking.desktop.in
71
73
72
post-install:
74
post-install:
73
# Port not install in figures jpg and png, this is cleaner as patch
75
# Port not install in figures jpg and png, this is cleaner as patch
Lines 76-84 Link Here
76
	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
78
	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
77
79
78
.if ${PORT_OPTIONS:MDOCS}
80
.if ${PORT_OPTIONS:MDOCS}
79
	${MKDIR} ${DOCSDIR}
81
	@${MKDIR} ${DOCSDIR}
80
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
82
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
81
.endif
83
.endif
82
	@-update-desktop-database -q
83
84
84
.include <bsd.port.mk>
85
.include <bsd.port.mk>
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (viking-1.4.tar.gz) = 80aa4c7bf3be75441a435f6681831b8aeb08f7eb6f7a5a86872eec16cda67799
1
SHA256 (viking-1.4.1.tar.gz) = 20d91b048d2bfbb33498af4da5dc120a3a9232ed05a4a87a3ce6e341445ef640
2
SIZE (viking-1.4.tar.gz) = 1487470
2
SIZE (viking-1.4.1.tar.gz) = 1490617
(-)./pkg-plist (-9 lines)
Lines 57-74 Link Here
57
%%DATADIR%%/maps.xml
57
%%DATADIR%%/maps.xml
58
@dirrm %%DATADIR%%
58
@dirrm %%DATADIR%%
59
@dirrmtry share/omf/viking
59
@dirrmtry share/omf/viking
60
@dirrmtry share/omf
61
%%NLS%%@dirrmtry share/locale/jv/LC_MESSAGES
60
%%NLS%%@dirrmtry share/locale/jv/LC_MESSAGES
62
%%NLS%%@dirrmtry share/locale/jv
61
%%NLS%%@dirrmtry share/locale/jv
63
@dirrmtry share/icons/hicolor/48x48/apps
64
@dirrmtry share/icons/hicolor/48x48
65
@dirrmtry share/icons/hicolor
66
@dirrmtry share/icons
67
@dirrmtry share/gnome/help/viking/C/figures
62
@dirrmtry share/gnome/help/viking/C/figures
68
@dirrmtry share/gnome/help/viking/C
63
@dirrmtry share/gnome/help/viking/C
69
@dirrmtry share/gnome/help/viking
64
@dirrmtry share/gnome/help/viking
70
@dirrmtry share/gnome/help
71
@dirrmtry share/gnome
72
@dirrmtry share/applications
65
@dirrmtry share/applications
73
@exec %%LOCALBASE%%/bin/update-desktop-database  -q || /usr/bin/true
74
@unexec %%LOCALBASE%%/bin/update-desktop-database  -q || /usr/bin/true

Return to bug 178841