diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-09-07 16:40:32 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-09-07 16:40:32 +0000 |
commit | 8f9e71b2ce0e849be279c4387c7b5ab173b614b0 (patch) | |
tree | cbac32f40e61b41cc6436d8a3dde79ba8eab8ffc /databases/gtksql | |
parent | 9bcad7c3f93b086b4f9328d3ce2e86f5a079795b (diff) | |
download | ports-8f9e71b2ce0e849be279c4387c7b5ab173b614b0.tar.gz ports-8f9e71b2ce0e849be279c4387c7b5ab173b614b0.zip |
Notes
Diffstat (limited to 'databases/gtksql')
-rw-r--r-- | databases/gtksql/Makefile | 42 |
1 files changed, 16 insertions, 26 deletions
diff --git a/databases/gtksql/Makefile b/databases/gtksql/Makefile index aebe6c5f284f..53cc97ca3a3b 100644 --- a/databases/gtksql/Makefile +++ b/databases/gtksql/Makefile @@ -3,7 +3,7 @@ PORTNAME= gtksql PORTVERSION= 0.4.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-testing/${PORTNAME}-${PORTVERSION} @@ -11,15 +11,11 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Graphical query tool for PostgreSQL/MySQL/SQLite LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libscintilla.so:x11-toolkits/scintilla RUN_DEPENDS= xdg-open:devel/xdg-utils -OPTIONS_DEFINE= AVAHI DOCS -OPTIONS_MULTI= DB -OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE -OPTIONS_DEFAULT= SQLITE - USES= gettext gmake pkgconfig USE_GNOME= gtk20 cairo glib20 pango GNU_CONFIGURE= yes @@ -30,30 +26,24 @@ CPPFLAGS+= -I${LOCALBASE}/include/scintilla -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lscintilla -lscintilla_lexers LDFLAGS+= -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -PGSQL_USES= pgsql -PGSQL_CONFIGURE_WITH= postgresql +OPTIONS_DEFINE= AVAHI DOCS +OPTIONS_MULTI= DB +OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE +OPTIONS_DEFAULT= SQLITE -.include <bsd.port.options.mk> +PGSQL_USES= pgsql +PGSQL_CONFIGURE_WITH= postgresql -.if ${PORT_OPTIONS:MAVAHI} -LIB_DEPENDS+= libavahi-common.so:net/avahi-app -.else -CONFIGURE_ARGS+= --without-avahi -.endif +AVAHI_LIB_DEPENDS= libavahi-common.so:net/avahi-app +AVAHI_CONFIGURE_OFF= --without-avahi -.if ${PORT_OPTIONS:MMYSQL} -USE_MYSQL= yes -CPPFLAGS+= -I${LOCALBASE}/include/mysql -LDFLAGS+= -L${LOCALBASE}/lib/mysql -.else -CONFIGURE_ARGS+= --without-mysql -.endif +MYSQL_USES= mysql +MYSQL_CPPFLAGS= -I${LOCALBASE}/include/mysql +MYSQL_LDFLAGS= -L${LOCALBASE}/lib/mysql +MYSQL_CONFIGURE_OFF= --without-mysql -.if ${PORT_OPTIONS:MSQLITE} -USES+= sqlite -.else -CONFIGURE_ARGS+= --without-sqlite -.endif +SQLITE_USES= sqlite +SQLITE_CONFIGURE_OFF= --without-sqlite post-patch: @${REINPLACE_CMD} -e \ |