2002-07-20 19:25:27 +02:00
|
|
|
# New ports collection makefile for: zphoto
|
|
|
|
# Date created: 19 Jul 2002
|
|
|
|
# Whom: UMENO Takashi <umeno@rr.iij4u.or.jp>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= zphoto
|
2004-07-22 03:52:02 +02:00
|
|
|
PORTVERSION= 1.2
|
2005-03-07 17:41:04 +01:00
|
|
|
PORTREVISION= 1
|
2002-07-20 19:25:27 +02:00
|
|
|
CATEGORIES= graphics www
|
|
|
|
MASTER_SITES= http://namazu.org/~satoru/zphoto/
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= umeno@rr.iij4u.or.jp
|
2003-02-21 13:17:17 +01:00
|
|
|
COMMENT= Zooming photo album generator
|
2002-07-20 19:25:27 +02:00
|
|
|
|
2006-04-24 15:55:16 +02:00
|
|
|
LIB_DEPENDS= ming.4:${PORTSDIR}/graphics/ming \
|
2005-03-07 16:10:20 +01:00
|
|
|
Imlib2.3:${PORTSDIR}/graphics/imlib2 \
|
2004-07-22 03:52:02 +02:00
|
|
|
popt.0:${PORTSDIR}/devel/popt
|
|
|
|
.if !defined (WITHOUT_AVIPLAY)
|
|
|
|
LIB_DEPENDS+= aviplay.0:${PORTSDIR}/multimedia/avifile
|
|
|
|
.endif
|
2005-05-12 23:19:00 +02:00
|
|
|
.if defined (WITH_WXGTK2)
|
2005-05-12 22:52:05 +02:00
|
|
|
LIB_DEPENDS+= wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk24
|
2004-05-10 23:39:56 +02:00
|
|
|
.endif
|
2004-07-22 03:52:02 +02:00
|
|
|
.if !defined (WITHOUT_ZIP)
|
2003-01-30 19:10:45 +01:00
|
|
|
RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip
|
2004-07-22 03:52:02 +02:00
|
|
|
.endif
|
2002-07-20 19:25:27 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2003-05-04 00:01:27 +02:00
|
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
|
2004-03-02 10:48:23 +01:00
|
|
|
CPPFLAGS="-I${LOCALBASE}/include \
|
2003-05-04 00:01:27 +02:00
|
|
|
${PTHREAD_CFLAGS}"
|
2005-05-26 13:36:04 +02:00
|
|
|
.if defined (WITH_WXGTK2)
|
2004-07-22 03:52:02 +02:00
|
|
|
CONFIGURE_ARGS+= --with-wx-config=wxgtk2-2.4-config
|
2005-05-26 13:36:04 +02:00
|
|
|
PLIST_FILES+= bin/wxzphoto
|
2004-05-10 23:39:56 +02:00
|
|
|
.else
|
2004-07-22 03:52:02 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-wx
|
|
|
|
.endif
|
|
|
|
.if defined (WITHOUT_AVIPLAY)
|
|
|
|
CONFIGURE_ARGS+= --disable-avifile
|
|
|
|
.endif
|
|
|
|
.if defined (WITHOUT_ZIP)
|
|
|
|
CONFIGURE_ARGS+= --disable-zip
|
2004-05-10 23:39:56 +02:00
|
|
|
.endif
|
2004-03-02 10:48:23 +01:00
|
|
|
USE_GMAKE= yes
|
2002-07-20 19:25:27 +02:00
|
|
|
USE_XLIB= yes
|
|
|
|
|
2004-03-02 10:48:23 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|<ming.h>|<ming/ming.h>|g' ${WRKSRC}/*.c ${WRKSRC}/configure
|
2004-07-22 03:52:02 +02:00
|
|
|
|
2002-07-20 19:25:27 +02:00
|
|
|
.include <bsd.port.mk>
|