2002-04-14 06:33:30 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: showimg
|
|
|
|
# Date created: Mar 12, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= showimg
|
2006-03-24 21:59:09 +01:00
|
|
|
PORTVERSION= 0.9.5
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 10
|
2004-07-29 10:12:04 +02:00
|
|
|
PORTEPOCH= 1
|
2002-04-14 06:33:30 +02:00
|
|
|
CATEGORIES= graphics
|
2006-03-24 21:59:09 +01:00
|
|
|
MASTER_SITES= http://www.jalix.org/projects/${PORTNAME}/download/${PORTVERSION}/ \
|
|
|
|
http://vxj-se.lunar-linux.org/lunar/cache/
|
2002-04-14 06:33:30 +02:00
|
|
|
|
2008-07-09 14:03:34 +02:00
|
|
|
MAINTAINER= citycat4@ngs.ru
|
2003-06-24 06:51:51 +02:00
|
|
|
COMMENT= A picture viewer designed to run under KDE 3.x
|
2002-04-14 06:33:30 +02:00
|
|
|
|
2006-03-24 21:59:09 +01:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_KDEBASE_VER= 3
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-03-24 21:59:09 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-pgsql
|
2005-02-11 22:18:40 +01:00
|
|
|
|
2006-03-24 21:59:09 +01:00
|
|
|
OPTIONS= KIPI "Support for libkipi" on \
|
|
|
|
KEXIF "Support for kexif" on \
|
|
|
|
KEXIDB "Support for KexiDB/ShowimgDB" on \
|
|
|
|
MYSQL "Build MySQL plugin for KexiDB" off \
|
2005-11-14 02:56:17 +01:00
|
|
|
|
2006-03-24 21:59:09 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITHOUT_KIPI)
|
|
|
|
CONFIGURE_ARGS+=--disable-libkipi
|
|
|
|
.else
|
|
|
|
LIB_DEPENDS+= kipi:${PORTSDIR}/graphics/libkipi
|
|
|
|
.endif
|
2003-10-23 20:31:15 +02:00
|
|
|
|
2006-03-24 21:59:09 +01:00
|
|
|
.if defined(WITHOUT_KEXIF)
|
|
|
|
CONFIGURE_ARGS+=--without-kexif
|
|
|
|
.else
|
|
|
|
LIB_DEPENDS+= kexif:${PORTSDIR}/graphics/libkexif
|
|
|
|
.endif
|
2005-02-11 22:18:40 +01:00
|
|
|
|
2006-03-24 21:59:09 +01:00
|
|
|
.if defined(WITHOUT_KEXIDB) && defined(WITHOUT_MYSQL)
|
|
|
|
CONFIGURE_ARGS+=--without-showimgdb
|
|
|
|
PLIST_SUB+= KEXIDB="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= KEXIDB=""
|
|
|
|
.endif
|
2004-02-20 17:06:50 +01:00
|
|
|
|
2006-03-24 21:59:09 +01:00
|
|
|
.if defined(WITH_MYSQL)
|
|
|
|
USE_MYSQL= yes
|
|
|
|
PLIST_SUB+= MYSQL=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-mysql
|
|
|
|
PLIST_SUB+= MYSQL="@comment "
|
|
|
|
.endif
|
2004-05-07 01:42:05 +02:00
|
|
|
|
|
|
|
post-patch:
|
2006-03-24 21:59:09 +01:00
|
|
|
@${REINPLACE_CMD} -e '347,365d' ${WRKSRC}/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
2004-05-07 01:42:05 +02:00
|
|
|
|
2006-03-24 21:59:09 +01:00
|
|
|
.include <bsd.port.post.mk>
|