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

(-)zphoto/Makefile (-10 / +19 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	zphoto
8
PORTNAME=	zphoto
9
PORTVERSION=	1.0
9
PORTVERSION=	1.2
10
CATEGORIES=	graphics www
10
CATEGORIES=	graphics www
11
MASTER_SITES=	http://namazu.org/~satoru/zphoto/
11
MASTER_SITES=	http://namazu.org/~satoru/zphoto/
12
MASTER_SITE_SUBDIR=	${PORTNAME}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 16-48 Link Here
16
16
17
LIB_DEPENDS=	ming.3:${PORTSDIR}/graphics/ming \
17
LIB_DEPENDS=	ming.3:${PORTSDIR}/graphics/ming \
18
		Imlib2.2:${PORTSDIR}/graphics/imlib2 \
18
		Imlib2.2:${PORTSDIR}/graphics/imlib2 \
19
		popt.0:${PORTSDIR}/devel/popt \
19
		popt.0:${PORTSDIR}/devel/popt
20
		aviplay.0:${PORTSDIR}/multimedia/avifile
20
.if !defined (WITHOUT_AVIPLAY)
21
LIB_DEPENDS+=	aviplay.0:${PORTSDIR}/multimedia/avifile
22
.endif
21
.if defined (WITH_WXGTK)
23
.if defined (WITH_WXGTK)
22
LIB_DEPENDS+=	wx_gtk-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk
24
LIB_DEPENDS+=	wx_gtk-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk
23
.elif defined (WITH_WXGTK2)
25
.elif defined (WITH_WXGTK2)
24
LIB_DEPENDS+=	wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2
26
LIB_DEPENDS+=	wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2
25
.endif
27
.endif
28
.if !defined (WITHOUT_ZIP)
26
RUN_DEPENDS=	zip:${PORTSDIR}/archivers/zip
29
RUN_DEPENDS=	zip:${PORTSDIR}/archivers/zip
30
.endif
27
31
28
USE_REINPLACE=	yes
32
USE_REINPLACE=	yes
29
GNU_CONFIGURE=	yes
33
GNU_CONFIGURE=	yes
30
CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
34
CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
31
	       	CPPFLAGS="-I${LOCALBASE}/include \
35
	       	CPPFLAGS="-I${LOCALBASE}/include \
32
		${PTHREAD_CFLAGS}"
36
		${PTHREAD_CFLAGS}"
33
.if defined (WITH_WXGTK) || (WITH_WXGTK2)
37
.if defined (WITH_WXGTK)
38
CONFIGURE_ARGS+=	--with-wx-config=wxgtk-2.4-config
34
PLIST+=		${PKGDIR}/pkg-plist.wxzphoto
39
PLIST+=		${PKGDIR}/pkg-plist.wxzphoto
40
.elif defined (WITH_WXGTK2)
41
CONFIGURE_ARGS+=	--with-wx-config=wxgtk2-2.4-config
35
.else
42
.else
36
CONFIGURE_ARGS=	--disable-wx
43
CONFIGURE_ARGS+=	--disable-wx
44
.endif
45
.if defined (WITHOUT_AVIPLAY)
46
CONFIGURE_ARGS+=	--disable-avifile
47
.endif
48
.if defined (WITHOUT_ZIP)
49
CONFIGURE_ARGS+=	--disable-zip
37
.endif
50
.endif
38
USE_GMAKE=	yes
51
USE_GMAKE=	yes
39
USE_XLIB=	yes
52
USE_XLIB=	yes
40
53
41
post-patch:
54
post-patch:
42
	@${REINPLACE_CMD} -e 's|<ming.h>|<ming/ming.h>|g' ${WRKSRC}/*.c ${WRKSRC}/configure
55
	@${REINPLACE_CMD} -e 's|<ming.h>|<ming/ming.h>|g' ${WRKSRC}/*.c ${WRKSRC}/configure
43
.if defined (WITH_WXGTK)
56
44
	@${REINPLACE_CMD} -e 's|wxgtk2-config||g' -e 's|wxgtk2-2.5-config||g' -e 's|wxgtk2-2.4-config||g' ${WRKSRC}/configure
45
.elif defined (WITH_WXGTK2)
46
	@${REINPLACE_CMD} -e 's|wx-config||g' -e 's|wxgtk-config||g' ${WRKSRC}/configure
47
.endif
48
.include <bsd.port.mk>
57
.include <bsd.port.mk>
(-)zphoto/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (zphoto-1.0.tar.gz) = 7cba659b913468124b664bcde52efece
1
MD5 (zphoto-1.2.tar.gz) = 636a9cffec9131043e29c1f5812a6c3c
2
SIZE (zphoto-1.0.tar.gz) = 419086
2
SIZE (zphoto-1.2.tar.gz) = 414079
(-)zphoto/pkg-plist (+9 lines)
Lines 5-16 Link Here
5
share/zphoto/templates/default/en/zphoto.css
5
share/zphoto/templates/default/en/zphoto.css
6
share/zphoto/templates/default/en/flash-colors.txt
6
share/zphoto/templates/default/en/flash-colors.txt
7
share/zphoto/templates/default/en/css-colors.txt
7
share/zphoto/templates/default/en/css-colors.txt
8
share/zphoto/templates/default/en/zoom.js
8
share/zphoto/templates/default/ja/.photo.html
9
share/zphoto/templates/default/ja/.photo.html
9
share/zphoto/templates/default/ja/index.html
10
share/zphoto/templates/default/ja/index.html
10
share/zphoto/templates/default/ja/noflash.html
11
share/zphoto/templates/default/ja/noflash.html
11
share/zphoto/templates/default/ja/zphoto.css
12
share/zphoto/templates/default/ja/zphoto.css
12
share/zphoto/templates/default/ja/flash-colors.txt
13
share/zphoto/templates/default/ja/flash-colors.txt
13
share/zphoto/templates/default/ja/css-colors.txt
14
share/zphoto/templates/default/ja/css-colors.txt
15
share/zphoto/templates/default/ja/zoom.js
14
share/zphoto/templates/default/all/.photo.html
16
share/zphoto/templates/default/all/.photo.html
15
share/zphoto/templates/default/all/zphoto.css
17
share/zphoto/templates/default/all/zphoto.css
16
share/zphoto/templates/default/all/index.html.en
18
share/zphoto/templates/default/all/index.html.en
Lines 19-26 Link Here
19
share/zphoto/templates/default/all/noflash.html.ja
21
share/zphoto/templates/default/all/noflash.html.ja
20
share/zphoto/templates/default/all/flash-colors.txt
22
share/zphoto/templates/default/all/flash-colors.txt
21
share/zphoto/templates/default/all/css-colors.txt
23
share/zphoto/templates/default/all/css-colors.txt
24
share/zphoto/templates/default/all/zoom.js.en
25
share/zphoto/templates/default/all/zoom.js.ja
22
share/zphoto/doc/zphoto-ja.html
26
share/zphoto/doc/zphoto-ja.html
23
share/zphoto/doc/zphoto.html
27
share/zphoto/doc/zphoto.html
28
share/zphoto/doc/images/wxzphoto-linux-mini.png
29
share/zphoto/doc/images/wxzphoto-linux.png
30
share/zphoto/doc/images/wxzphoto-mini.png
31
share/zphoto/doc/images/wxzphoto.png
24
share/zphoto/fonts/EfontSerifB.fdb
32
share/zphoto/fonts/EfontSerifB.fdb
25
share/locale/ja/LC_MESSAGES/zphoto.mo
33
share/locale/ja/LC_MESSAGES/zphoto.mo
26
share/locale/ja_JP.SJIS/LC_MESSAGES/zphoto.mo
34
share/locale/ja_JP.SJIS/LC_MESSAGES/zphoto.mo
Lines 30-34 Link Here
30
@dirrm share/zphoto/templates/default
38
@dirrm share/zphoto/templates/default
31
@dirrm share/zphoto/templates
39
@dirrm share/zphoto/templates
32
@dirrm share/zphoto/fonts
40
@dirrm share/zphoto/fonts
41
@dirrm share/zphoto/doc/images
33
@dirrm share/zphoto/doc
42
@dirrm share/zphoto/doc
34
@dirrm share/zphoto
43
@dirrm share/zphoto

Return to bug 69363