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

(-)Makefile (-9 / +10 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	gnokii
8
PORTNAME=	gnokii
9
PORTVERSION=	0.6.10
9
PORTVERSION=	0.6.12
10
PORTREVISION=	1
11
PORTEPOCH=	1
10
PORTEPOCH=	1
12
CATEGORIES=	comms
11
CATEGORIES=	comms
13
MASTER_SITES=	http://www.gnokii.org/download/gnokii/ \
12
MASTER_SITES=	http://www.gnokii.org/download/gnokii/ \
Lines 17-23 Link Here
17
MAINTAINER=	mad@madpilot.net
16
MAINTAINER=	mad@madpilot.net
18
COMMENT=	Tools to talk to GSM cellular phones
17
COMMENT=	Tools to talk to GSM cellular phones
19
18
20
USE_REINPLACE=	yes
21
USE_GMAKE=	yes
19
USE_GMAKE=	yes
22
USE_BZIP2=	yes
20
USE_BZIP2=	yes
23
INSTALLS_SHLIB=	yes
21
INSTALLS_SHLIB=	yes
Lines 29-36 Link Here
29
		CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include -fPIC" \
27
		CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include -fPIC" \
30
		LIBS="-L../common -L${LOCALBASE}/lib"
28
		LIBS="-L../common -L${LOCALBASE}/lib"
31
29
32
MAN1=	gnokii.1 todologo.1 ppm2nokia.1 sendsms.1
30
MAN1=		gnokii.1 todologo.1 ppm2nokia.1 sendsms.1
33
MAN8=	gnokiid.8 mgnokiidev.8
31
MAN8=		gnokiid.8 mgnokiidev.8
32
PORTDOCS=	*
34
33
35
INSTALL_TARGET=	install-suid
34
INSTALL_TARGET=	install-suid
36
PKGDEINSTALL=	${PKGINSTALL}
35
PKGDEINSTALL=	${PKGINSTALL}
Lines 43-48 Link Here
43
42
44
.include <bsd.port.pre.mk>
43
.include <bsd.port.pre.mk>
45
44
45
.if ${OSVERSION} < 500000
46
BROKEN=		Does not compile on FreeBSD 4.x
47
.endif
48
46
.if exists(${LOCALBASE}/lib/libical.so.0)
49
.if exists(${LOCALBASE}/lib/libical.so.0)
47
WITH_ICAL=	yes
50
WITH_ICAL=	yes
48
.endif
51
.endif
Lines 134-143 Link Here
134
	@${REINPLACE_CMD} -E -e "s:^(#ifdef.*)__OpenBSD__:\1__FreeBSD__:" \
137
	@${REINPLACE_CMD} -E -e "s:^(#ifdef.*)__OpenBSD__:\1__FreeBSD__:" \
135
		${WRKSRC}/${f}
138
		${WRKSRC}/${f}
136
.endfor
139
.endfor
137
.if ${OSVERSION} <= 500027
140
	@${REINPLACE_CMD} -e '/pkgconfig/d' ${WRKSRC}/xgnokii/Makefile
138
	@${FIND} ${WRKSRC} -type f -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} \
139
		-e 's|<stdint.h>|<inttypes.h>|'
140
.endif
141
.if defined(SMSD_WITH_GLIB1)
141
.if defined(SMSD_WITH_GLIB1)
142
	@cd ${WRKSRC} && ${PATCH} -s <${PATCHDIR}/smsd-Makefile-WITH_GLIB.diff
142
	@cd ${WRKSRC} && ${PATCH} -s <${PATCHDIR}/smsd-Makefile-WITH_GLIB.diff
143
.endif
143
.endif
Lines 158-163 Link Here
158
	@${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
158
	@${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
159
159
160
post-install:
160
post-install:
161
	${INSTALL_DATA} ${WRKSRC}/xgnokii/xgnokii.pc ${PREFIX}/libdata/pkgconfig
161
	@${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
162
	@${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
162
.if !defined(NOPORTDOCS)
163
.if !defined(NOPORTDOCS)
163
	@(cd ${WRKSRC} && ${GMAKE} install-docs)
164
	@(cd ${WRKSRC} && ${GMAKE} install-docs)
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (gnokii-0.6.10.tar.bz2) = 031007358ff9b6e6e2994d408a4fa88a
1
MD5 (gnokii-0.6.12.tar.bz2) = 846e03e7cf3581000c9d0141c2950b79
2
SHA256 (gnokii-0.6.10.tar.bz2) = 92659c8b02a50f7a2d40a608b81514176a13216d4a40d35689df9a49f58444f0
2
SHA256 (gnokii-0.6.12.tar.bz2) = 7ec179f8d933c1005af2b4996198fffc10b528f4604b796c471d6413cc825b58
3
SIZE (gnokii-0.6.10.tar.bz2) = 1916536
3
SIZE (gnokii-0.6.12.tar.bz2) = 1517318
(-)pkg-plist (-64 / +2 lines)
Lines 23-83 Link Here
23
lib/libgnokii.so
23
lib/libgnokii.so
24
lib/libgnokii.so.2
24
lib/libgnokii.so.2
25
libdata/pkgconfig/gnokii.pc
25
libdata/pkgconfig/gnokii.pc
26
libdata/pkgconfig/xgnokii.pc
26
sbin/gnokiid
27
sbin/gnokiid
27
sbin/mgnokiidev
28
sbin/mgnokiidev
28
%%SMSD%%sbin/smsd
29
%%SMSD%%sbin/smsd
29
%%PORTDOCS%%%%DOCSDIR%%/Bugs
30
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
31
%%PORTDOCS%%%%DOCSDIR%%/DataCalls-QuickStart
32
%%PORTDOCS%%%%DOCSDIR%%/README
33
%%PORTDOCS%%%%DOCSDIR%%/README-2110
34
%%PORTDOCS%%%%DOCSDIR%%/README-3810
35
%%PORTDOCS%%%%DOCSDIR%%/README-6110
36
%%PORTDOCS%%%%DOCSDIR%%/README-6510
37
%%PORTDOCS%%%%DOCSDIR%%/README-7110
38
%%PORTDOCS%%%%DOCSDIR%%/README-MacOSX
39
%%PORTDOCS%%%%DOCSDIR%%/README-Symbian
40
%%PORTDOCS%%%%DOCSDIR%%/README-WIN32
41
%%PORTDOCS%%%%DOCSDIR%%/README-dancall
42
%%PORTDOCS%%%%DOCSDIR%%/README-ericsson
43
%%PORTDOCS%%%%DOCSDIR%%/README-siemens
44
%%PORTDOCS%%%%DOCSDIR%%/README.libsms
45
%%PORTDOCS%%%%DOCSDIR%%/gettext-howto
46
%%PORTDOCS%%%%DOCSDIR%%/gnapplet.sis
47
%%PORTDOCS%%%%DOCSDIR%%/gnokii-IrDA-Linux
48
%%PORTDOCS%%%%DOCSDIR%%/gnokii-hackers-howto
49
%%PORTDOCS%%%%DOCSDIR%%/gnokii-ir-howto
50
%%PORTDOCS%%%%DOCSDIR%%/gnokii.nol
51
%%PORTDOCS%%%%DOCSDIR%%/logos.txt
52
%%PORTDOCS%%%%DOCSDIR%%/packaging-howto
53
%%PORTDOCS%%%%DOCSDIR%%/ringtones.txt
54
%%PORTDOCS%%%%DOCSDIR%%/sample/gnokiirc
55
%%PORTDOCS%%%%DOCSDIR%%/sample/logo/bronto.xpm
56
%%PORTDOCS%%%%DOCSDIR%%/sample/logo/gnokii.xpm
57
%%PORTDOCS%%%%DOCSDIR%%/sample/logo/gnokiiop.xpm
58
%%PORTDOCS%%%%DOCSDIR%%/sample/logo/horse.xpm
59
%%PORTDOCS%%%%DOCSDIR%%/sample/logo/horse2.xpm
60
%%PORTDOCS%%%%DOCSDIR%%/sample/logo/pacman.xpm
61
%%PORTDOCS%%%%DOCSDIR%%/sample/magic
62
%%PORTDOCS%%%%DOCSDIR%%/sample/ppp/cimd-connect
63
%%PORTDOCS%%%%DOCSDIR%%/sample/ppp/options
64
%%PORTDOCS%%%%DOCSDIR%%/sample/ppp/pap-secrets
65
%%PORTDOCS%%%%DOCSDIR%%/sample/ppp/ppp-6210-modem
66
%%PORTDOCS%%%%DOCSDIR%%/sample/ppp/ppp-FILES
67
%%PORTDOCS%%%%DOCSDIR%%/sample/ppp/ppp-gnokii
68
%%PORTDOCS%%%%DOCSDIR%%/sample/ppp/ppp-hscsd
69
%%PORTDOCS%%%%DOCSDIR%%/sample/ppp/ppp-on
70
%%PORTDOCS%%%%DOCSDIR%%/sample/ringtone/star.imelody
71
%%PORTDOCS%%%%DOCSDIR%%/sample/ringtone/star.rtttl
72
%%PORTDOCS%%%%DOCSDIR%%/sample/vCalendar/test.vcs
73
%%PORTDOCS%%@dirrm %%DOCSDIR%%/sample/logo
74
%%PORTDOCS%%@dirrm %%DOCSDIR%%/sample/ringtone
75
%%PORTDOCS%%@dirrm %%DOCSDIR%%/sample/vCalendar
76
%%PORTDOCS%%@dirrm %%DOCSDIR%%/sample/vCard
77
%%PORTDOCS%%@dirrm %%DOCSDIR%%/sample/ppp
78
%%PORTDOCS%%@dirrm %%DOCSDIR%%/sample
79
%%PORTDOCS%%@dirrm %%DOCSDIR%%
80
%%PORTDOCS%%@exec mkdir -m 755 %D/%%DOCSDIR%%/sample/vCard
81
%%NLS%%share/locale/cs/LC_MESSAGES/gnokii.mo
30
%%NLS%%share/locale/cs/LC_MESSAGES/gnokii.mo
82
%%NLS%%share/locale/de/LC_MESSAGES/gnokii.mo
31
%%NLS%%share/locale/de/LC_MESSAGES/gnokii.mo
83
%%NLS%%share/locale/et/LC_MESSAGES/gnokii.mo
32
%%NLS%%share/locale/et/LC_MESSAGES/gnokii.mo
Lines 88-93 Link Here
88
%%NLS%%share/locale/pl/LC_MESSAGES/gnokii.mo
37
%%NLS%%share/locale/pl/LC_MESSAGES/gnokii.mo
89
%%NLS%%share/locale/sk/LC_MESSAGES/gnokii.mo
38
%%NLS%%share/locale/sk/LC_MESSAGES/gnokii.mo
90
%%NLS%%share/locale/sl/LC_MESSAGES/gnokii.mo
39
%%NLS%%share/locale/sl/LC_MESSAGES/gnokii.mo
40
%%NLS%%share/locale/sv/LC_MESSAGES/gnokii.mo
91
%%NLS%%share/locale/zh_CN/LC_MESSAGES/gnokii.mo
41
%%NLS%%share/locale/zh_CN/LC_MESSAGES/gnokii.mo
92
%%SMSD%%share/smsd/README
42
%%SMSD%%share/smsd/README
93
%%SMSD%%share/smsd/action
43
%%SMSD%%share/smsd/action
Lines 169-185 Link Here
169
%%X11%%share/xgnokii/help/pl_PL/sms.html
119
%%X11%%share/xgnokii/help/pl_PL/sms.html
170
%%X11%%share/xgnokii/help/pl_PL/speeddial.html
120
%%X11%%share/xgnokii/help/pl_PL/speeddial.html
171
%%X11%%share/xgnokii/help/pl_PL/xkeyb.html
121
%%X11%%share/xgnokii/help/pl_PL/xkeyb.html
172
%%X11%%share/xgnokii/xpm/5110.xpm
173
%%X11%%share/xgnokii/xpm/6110.xpm
174
%%X11%%share/xgnokii/xpm/6150.xpm
175
%%X11%%share/xgnokii/xpm/Preview_3210.xpm
176
%%X11%%share/xgnokii/xpm/Preview_3310.xpm
177
%%X11%%share/xgnokii/xpm/Preview_5110.xpm
178
%%X11%%share/xgnokii/xpm/Preview_6110.xpm
179
%%X11%%share/xgnokii/xpm/Preview_6150.xpm
180
%%X11%%share/xgnokii/xpm/Preview_6210.xpm
181
%%X11%%share/xgnokii/xpm/Preview_6250.xpm
182
%%X11%%share/xgnokii/xpm/Preview_7110.xpm
183
%%X11%%@exec mkdir -p %D/share/xgnokii/help/en_US/calendar
122
%%X11%%@exec mkdir -p %D/share/xgnokii/help/en_US/calendar
184
%%X11%%@exec mkdir -p %D/share/xgnokii/help/en_US/contacts
123
%%X11%%@exec mkdir -p %D/share/xgnokii/help/en_US/contacts
185
%%X11%%@exec mkdir -p %D/share/xgnokii/help/en_US/dtmf
124
%%X11%%@exec mkdir -p %D/share/xgnokii/help/en_US/dtmf
Lines 218-222 Link Here
218
%%X11%%@dirrm share/xgnokii/help/pl_PL/netmon
157
%%X11%%@dirrm share/xgnokii/help/pl_PL/netmon
219
%%X11%%@dirrm share/xgnokii/help/pl_PL
158
%%X11%%@dirrm share/xgnokii/help/pl_PL
220
%%X11%%@dirrm share/xgnokii/help
159
%%X11%%@dirrm share/xgnokii/help
221
%%X11%%@dirrm share/xgnokii/xpm
222
%%X11%%@dirrm share/xgnokii
160
%%X11%%@dirrm share/xgnokii

Return to bug 95340