1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/misc/krecipes/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-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
2009-08-02 19:36:34 +00:00

54 lines
1.2 KiB
Makefile

# ports collection makefile for: krecipies
# Date created: 19 March 2005
# Whom: hank
#
# $FreeBSD$
#
PORTNAME= krecipes
PORTVERSION= 0.9.1
PORTREVISION= 3
CATEGORIES= misc kde
MASTER_SITES= SF
MAINTAINER= hank@millerfarm.com
COMMENT= Recipe database for cooks
USE_KDELIBS_VER=3
USE_AUTOTOOLS= libtool:22
OPTIONS= SQLITE "Support for SQLite backend" on \
MYSQL "Support for MySQL backend" off \
POSTGRESQL "Support for PostgreSQL backend" off
.include <bsd.port.pre.mk>
.if defined(WITHOUT_SQLITE)
CONFIGURE_ARGS+= --without-sqlite
.else
USE_SQLITE= yes
.endif
.if defined(WITH_MYSQL)
RUN_DEPENDS+= ${LOCALBASE}/lib/plugins/sqldrivers/libqsqlmysql.so:${PORTSDIR}/databases/qt-mysql-plugin
.else
CONFIGURE_ARGS+= --without-mysql
.endif
.if defined(WITH_POSTGRESQL)
RUN_DEPENDS+= ${LOCALBASE}/lib/plugins/sqldrivers/libqsqlpsql.so:${PORTSDIR}/databases/qt-pgsql-plugin
.else
CONFIGURE_ARGS+= --without-postgresql
.endif
post-extract:
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
pre-configure:
.if defined(WITHOUT_SQLITE) && !defined(WITH_MYSQL) && !defined(WITH_POSTGRESQL)
@${ECHO} "You must have at least one database backend"
@exit 1
.endif
.include <bsd.port.post.mk>