mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
44 lines
982 B
Makefile
44 lines
982 B
Makefile
# New ports collection makefile for: sqsh
|
|
# Date created: 14 Jan 2000
|
|
# Whom: Domas Mituzas <midom@dammit.lt>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sqsh
|
|
PORTVERSION= 2.1.3
|
|
PORTREVISION= 3
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= sqsh
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Interactive tool for querying Sybase database servers
|
|
|
|
LIB_DEPENDS= ct.4:${PORTSDIR}/databases/freetds
|
|
|
|
USE_GETTEXT= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= SYBASE="${LOCALBASE}"
|
|
CONFIGURE_ARGS= --with-readline
|
|
ALL_TARGET= build
|
|
|
|
MAN1= sqsh.1
|
|
|
|
.if defined(WITHOUT_X11)
|
|
PKGNAMESUFFIX= -nox11
|
|
.else
|
|
USE_MOTIF= yes
|
|
CONFIGURE_ARGS+= --with-motif --with-x
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/doc/global.sqshrc
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/sqsh ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/sqsh.1 ${MANPREFIX}/man/man1
|
|
${INSTALL_DATA} ${WRKSRC}/doc/global.sqshrc ${PREFIX}/etc/sqshrc.default
|
|
|
|
.include <bsd.port.mk>
|