2007-09-15 16:34:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2007/09/15 20:34:03 simon Exp $
|
2001-08-11 12:23:16 -04:00
|
|
|
|
2001-12-23 18:27:22 -05:00
|
|
|
DISTNAME= sqsh-2.1
|
2006-11-12 18:28:42 -05:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2001-08-11 12:23:16 -04:00
|
|
|
CATEGORIES= databases shells
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-22 11:59:29 -05:00
|
|
|
WANTLIB= c curses m readline
|
2001-08-11 12:23:16 -04:00
|
|
|
|
2007-09-15 16:34:00 -04:00
|
|
|
COMMENT= SQL shell
|
2001-12-23 18:27:22 -05:00
|
|
|
HOMEPAGE= http://www.sqsh.org/
|
2006-07-13 03:43:40 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sqsh/} ${HOMEPAGE}
|
2001-08-11 12:23:16 -04:00
|
|
|
EXTRACT_SUFX= -src.tar.gz
|
|
|
|
|
2004-08-10 06:26:50 -04:00
|
|
|
MODULES= devel/gettext
|
2006-09-18 05:04:03 -04:00
|
|
|
LIB_DEPENDS= tds.>=3,ct.>=2::databases/freetds
|
2001-08-11 12:23:16 -04:00
|
|
|
|
2003-05-12 14:02:44 -04:00
|
|
|
CONFIGURE_STYLE= gnu old
|
2001-09-28 02:02:12 -04:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/autoconf
|
2001-08-11 12:23:16 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
SYBASE="${LOCALBASE}"
|
2003-05-12 14:02:44 -04:00
|
|
|
CONFIGURE_ARGS= --with-readline --sysconfdir='${SYSCONFDIR}'
|
2001-12-23 18:27:22 -05:00
|
|
|
|
2001-08-11 12:23:16 -04:00
|
|
|
ALL_TARGET=
|
2001-11-02 12:52:58 -05:00
|
|
|
NO_REGRESS= Yes
|
2001-08-11 12:23:16 -04:00
|
|
|
|
2006-02-05 10:08:43 -05:00
|
|
|
pre-configure:
|
2003-05-12 14:02:44 -04:00
|
|
|
@perl -pi -e "s,%%SYSCONFDIR%%,${SYSCONFDIR}," ${WRKSRC}/Makefile.in \
|
|
|
|
${WRKSRC}/src/Makefile.in
|
|
|
|
|
2001-08-11 12:23:16 -04:00
|
|
|
do-install:
|
2001-12-23 18:27:22 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/sqsh ${PREFIX}/bin/
|
2001-08-11 12:23:16 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sqsh
|
2001-12-23 18:27:22 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/global.sqshrc \
|
|
|
|
${PREFIX}/share/examples/sqsh/
|
2001-08-11 12:23:16 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/sqsh.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|