blob: 6376868a35df29eacf3091fc835ca43db5af5a98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $NetBSD: Makefile,v 1.40 2016/09/19 13:04:20 wiz Exp $
# This section contains variables that might be overridden.
PKGNAME?= ${PKGNAME_BASE}
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= 15
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sqsh/}
CONFLICTS+= sqsh-[0-9]*
CONFLICTS+= sqsh-motif-[0-9]*
CONFLICTS+= sqsh-x11-[0-9]*
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.sqsh.org/
.include "options.mk"
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
GNU_CONFIGURE= yes
BUILD_TARGET= build
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
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/sqsh ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/sqsh.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/sqsh.1
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/sqsh
${INSTALL_DATA} ${WRKSRC}/doc/sample.sqshrc \
${DESTDIR}${PREFIX}/share/examples/sqsh
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|