openbsd-ports/databases/sqsh/Makefile
sthen c08ad06c85 update sqsh to 2.1.8
- normalise the port Makefile while there, it was particularly old and crufty
2012-11-20 22:17:29 +00:00

37 lines
753 B
Makefile

# $OpenBSD: Makefile,v 1.24 2012/11/20 22:17:29 sthen Exp $
COMMENT= SQL shell for FreeTDS
DISTNAME= sqsh-2.1.8
CATEGORIES= databases shells
HOMEPAGE= http://www.sqsh.org/
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c ct>=2 curses m readline
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sqsh/}
MODULES= devel/gettext
LIB_DEPENDS= databases/freetds
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-readline
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
SYBASE="${LOCALBASE}"
NO_REGRESS= Yes
ALL_TARGET=
FAKE_TARGET= install install.man
FAKE_FLAGS= SQSHRC_GLOBAL="${PREFIX}/share/examples/sqsh/global.sqshrc"
.include <bsd.port.mk>