openbsd-ports/databases/sqsh/Makefile

44 lines
1.1 KiB
Makefile
Raw Normal View History

2004-10-03 14:41:36 -04:00
# $OpenBSD: Makefile,v 1.12 2004/10/03 18:41:36 jcs Exp $
DISTNAME= sqsh-2.1
2004-02-16 13:18:25 -05:00
PKGNAME= ${DISTNAME}p0
CATEGORIES= databases shells
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
COMMENT= "SQL shell"
HOMEPAGE= http://www.sqsh.org/
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= -src.tar.gz
2004-10-03 14:41:36 -04:00
MAINTAINER= Joshua Stein <jcs@openbsd.org>
2004-08-10 06:26:50 -04:00
MODULES= devel/gettext
2004-02-16 13:18:25 -05:00
LIB_DEPENDS= tds.3,ct.2::databases/freetds
CONFIGURE_STYLE= gnu old
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/autoconf
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
SYBASE="${LOCALBASE}"
CONFIGURE_ARGS= --with-readline --sysconfdir='${SYSCONFDIR}'
ALL_TARGET=
2001-11-02 12:52:58 -05:00
NO_REGRESS= Yes
post-patch:
@perl -pi -e "s,%%SYSCONFDIR%%,${SYSCONFDIR}," ${WRKSRC}/Makefile.in \
${WRKSRC}/src/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/sqsh ${PREFIX}/bin/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sqsh
${INSTALL_DATA} ${WRKSRC}/doc/global.sqshrc \
${PREFIX}/share/examples/sqsh/
${INSTALL_MAN} ${WRKSRC}/doc/sqsh.1 ${PREFIX}/man/man1
.include <bsd.port.mk>