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> |