mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
54 lines
1.2 KiB
Makefile
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= 2
|
|
CATEGORIES= misc kde
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= hank@millerfarm.com
|
|
COMMENT= Recipe database for cooks
|
|
|
|
USE_KDELIBS_VER=3
|
|
USE_AUTOTOOLS= libtool:15
|
|
|
|
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>
|