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

Annotation of pkgsrc/databases/sqsh/Makefile, Revision 1.35

1.35    ! ryoon       1: # $NetBSD: Makefile,v 1.34 2013/02/06 23:22:02 jperkin Exp $
1.1       tsarna      2:
1.26      jlam        3: # This section contains variables that might be overridden.
                      4: PKGNAME?=      ${PKGNAME_BASE}
                      5: COMMENT?=      SQL shell for Sybase and MS-SQL servers
1.1       tsarna      6:
1.26      jlam        7: # Normal package Makefile contents follow.
                      8: DISTNAME=      sqsh-2.1-src
                      9: PKGNAME_BASE=  ${DISTNAME:S/-src//}
1.34      jperkin    10: PKGREVISION=   10
1.26      jlam       11: CATEGORIES=    databases
1.29      zafer      12: MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=sqsh/}
1.26      jlam       13:
                     14: CONFLICTS+=    sqsh-[0-9]*
1.23      grant      15: CONFLICTS+=    sqsh-motif-[0-9]*
1.22      grant      16: CONFLICTS+=    sqsh-x11-[0-9]*
1.1       tsarna     17:
1.31      wiz        18: MAINTAINER=    pkgsrc-users@NetBSD.org
1.26      jlam       19: HOMEPAGE=      http://www.sqsh.org/
                     20:
                     21: .include "options.mk"
                     22:
                     23: WRKSRC=                        ${WRKDIR}/${DISTNAME:S/-src//}
                     24: GNU_CONFIGURE=         yes
                     25: BUILD_TARGET=          build
                     26:
                     27: CONFIGURE_ARGS+=       --with-readline
1.35    ! ryoon      28: CONFIGURE_ENV+=                INCDIRS=${BUILDLINK_PREFIX.editlinereadline:Q}/include
        !            29: CONFIGURE_ENV+=                LIBDIRS=${BUILDLINK_PREFIX.editlinereadline:Q}/lib
1.26      jlam       30:
                     31: CHECK_HEADERS_SKIP=    src/sqsh_config.h
                     32:
                     33: CONF_FILES+=           ${PREFIX}/share/examples/sqsh/sample.sqshrc     \
                     34:                        ${PKG_SYSCONFDIR}/sqshrc
                     35:
                     36: INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
                     37:
                     38: do-install:
                     39:        ${INSTALL_PROGRAM} ${WRKSRC}/src/sqsh ${DESTDIR}${PREFIX}/bin
                     40:        ${INSTALL_MAN} ${WRKSRC}/doc/sqsh.1 \
                     41:                ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/sqsh.1
                     42:        ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/sqsh
                     43:        ${INSTALL_DATA} ${WRKSRC}/doc/sample.sqshrc \
                     44:                ${DESTDIR}${PREFIX}/share/examples/sqsh
                     45:
1.35    ! ryoon      46: .include "../../mk/readline.buildlink3.mk"
1.26      jlam       47: .include "../../mk/dlopen.buildlink3.mk"
                     48: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>