[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / databases / sqsh

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/databases/sqsh/Makefile between version 1.20 and 1.36

version 1.20, 2004/03/29 01:52:11 version 1.36, 2014/02/12 23:17:45
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
   
 DISTNAME=       sqsh-1.7-src  # This section contains variables that might be overridden.
 PKGNAME=        sqsh-1.7  PKGNAME?=       ${PKGNAME_BASE}
 PKGREVISION=    3  COMMENT?=       SQL shell for Sybase and MS-SQL servers
   
   # Normal package Makefile contents follow.
   DISTNAME=       sqsh-2.1-src
   PKGNAME_BASE=   ${DISTNAME:S/-src//}
   PKGREVISION=    11
 CATEGORIES=     databases  CATEGORIES=     databases
 MASTER_SITES=   ${HOMEPAGE}  MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE:=sqsh/}
   
 MAINTAINER=     tsarna@NetBSD.org  CONFLICTS+=     sqsh-[0-9]*
   CONFLICTS+=     sqsh-motif-[0-9]*
   CONFLICTS+=     sqsh-x11-[0-9]*
   
   MAINTAINER=     pkgsrc-users@NetBSD.org
 HOMEPAGE=       http://www.sqsh.org/  HOMEPAGE=       http://www.sqsh.org/
 COMMENT=        Sybase SQL shell  
   
 ALL_TARGET=             sqsh  .include "options.mk"
 INSTALL_TARGET=         install install.man  
   
 WRKSRC=                 ${WRKDIR}/${PKGNAME_NOREV}  WRKSRC=                 ${WRKDIR}/${DISTNAME:S/-src//}
 USE_BUILDLINK2=         yes  
 GNU_CONFIGURE=          yes  GNU_CONFIGURE=          yes
   BUILD_TARGET=           build
   
 CONFIGURE_ARGS+=        --with-readline  CONFIGURE_ARGS+=        --with-readline
   CONFIGURE_ENV+=         INCDIRS=${BUILDLINK_PREFIX.editlinereadline:Q}/include
   CONFIGURE_ENV+=         LIBDIRS=${BUILDLINK_PREFIX.editlinereadline:Q}/lib
   
   CHECK_HEADERS_SKIP=     src/sqsh_config.h
   
   CONF_FILES+=            ${PREFIX}/share/examples/sqsh/sample.sqshrc     \
                           ${PKG_SYSCONFDIR}/sqshrc
   
 # support for the native Sybase Open Client  INSTALLATION_DIRS=      bin ${PKGMANDIR}/man1
 BUILD_DEFS+=            USE_SYBASE_OPENCLIENT  
 BUILD_DEFS+=            SYBASE  
 .if defined(USE_SYBASE_OPENCLIENT) && empty(USE_SYBASE_OPENCLIENT:M[Nn][Oo])  
 .  if defined(SYBASE) && exists(${SYBASE}/lib/libct.so)  
 BUILDLINK_PASSTHRU_DIRS=${SYBASE}  
 _SYBASE=                ${SYBASE}  
 .  else  
 PKG_FAIL_REASON+=       "You must define SYBASE to the base directory of Open Client."  
 .  endif  
 .else  
 _SYBASE=                ${BUILDLINK_PREFIX.freetds}/freetds  
 MAKE_FLAGS+=            SYBASE_LIBS=-lct  
 .endif  
   
 LDFLAGS+=               -Wl,${RPATH_FLAG}${_SYBASE}/lib  
   
 CONFIGURE_ENV+=         SYBASE="${_SYBASE}"  
 CONFIGURE_ENV+=         INCDIRS="${BUILDLINK_PREFIX.readline}/include"  
 CONFIGURE_ENV+=         LIBDIRS="${BUILDLINK_PREFIX.readline}/lib"  
   
 do-install:  do-install:
         ${INSTALL_PROGRAM} ${WRKSRC}/sqsh ${PREFIX}/bin          ${INSTALL_PROGRAM} ${WRKSRC}/src/sqsh ${DESTDIR}${PREFIX}/bin
         ${INSTALL_MAN} ${WRKSRC}/doc/sqsh.1 ${PREFIX}/man/man1/sqsh.1          ${INSTALL_MAN} ${WRKSRC}/doc/sqsh.1 \
         ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sqsh                  ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/sqsh.1
         ${INSTALL_DATA} ${WRKSRC}/doc/sample.sqshrc ${PREFIX}/share/examples/sqsh          ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/sqsh
           ${INSTALL_DATA} ${WRKSRC}/doc/sample.sqshrc \
 .if !defined(USE_SYBASE_OPENCLIENT)                  ${DESTDIR}${PREFIX}/share/examples/sqsh
 .  include "../../databases/freetds/buildlink2.mk"  
 .endif  
   
 .include "../../devel/readline/buildlink2.mk"  .include "../../mk/readline.buildlink3.mk"
   .include "../../mk/dlopen.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.36

CVSweb <webmaster@jp.NetBSD.org>