mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
789d75c728
-Update libtool and libltdl to 2.2.6a. -Remove devel/libtool15 and devel/libltdl15. -Fix ports build with libtool22/libltdl22. -Bump ports that depend on libltdl22 due to shared library version change. -Explain what to do update in the UPDATING. It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop and applications in the runtime. With help: marcus and kwm Pointyhat-exp: a few times by pav Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and a few MarcusCom CVS users. Also, I might have missed a few. Repocopy by: marcus Approved by: portmgr
66 lines
1.4 KiB
Makefile
66 lines
1.4 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: showimg
|
|
# Date created: Mar 12, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= showimg
|
|
PORTVERSION= 0.9.5
|
|
PORTREVISION= 5
|
|
PORTEPOCH= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.jalix.org/projects/${PORTNAME}/download/${PORTVERSION}/ \
|
|
http://vxj-se.lunar-linux.org/lunar/cache/
|
|
|
|
MAINTAINER= citycat4@ngs.ru
|
|
COMMENT= A picture viewer designed to run under KDE 3.x
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_KDEBASE_VER= 3
|
|
USE_AUTOTOOLS= libtool:22
|
|
USE_LDCONFIG= yes
|
|
CONFIGURE_ARGS+= --disable-pgsql
|
|
|
|
OPTIONS= KIPI "Support for libkipi" on \
|
|
KEXIF "Support for kexif" on \
|
|
KEXIDB "Support for KexiDB/ShowimgDB" on \
|
|
MYSQL "Build MySQL plugin for KexiDB" off \
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITHOUT_KIPI)
|
|
CONFIGURE_ARGS+=--disable-libkipi
|
|
.else
|
|
LIB_DEPENDS+= kipi:${PORTSDIR}/graphics/libkipi
|
|
.endif
|
|
|
|
.if defined(WITHOUT_KEXIF)
|
|
CONFIGURE_ARGS+=--without-kexif
|
|
.else
|
|
LIB_DEPENDS+= kexif:${PORTSDIR}/graphics/libkexif
|
|
.endif
|
|
|
|
.if defined(WITHOUT_KEXIDB) && defined(WITHOUT_MYSQL)
|
|
CONFIGURE_ARGS+=--without-showimgdb
|
|
PLIST_SUB+= KEXIDB="@comment "
|
|
.else
|
|
PLIST_SUB+= KEXIDB=""
|
|
.endif
|
|
|
|
.if defined(WITH_MYSQL)
|
|
USE_MYSQL= yes
|
|
PLIST_SUB+= MYSQL=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-mysql
|
|
PLIST_SUB+= MYSQL="@comment "
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '347,365d' ${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
.include <bsd.port.post.mk>
|