diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-11-06 16:47:17 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-11-06 16:47:17 +0000 |
commit | 6ef0919abb4cdb8822476bf02323a03a49b0fc51 (patch) | |
tree | 79c6f912aaf37cb338df222be3811909c2b622b0 /databases/sqsh/Makefile | |
parent | 487aef86669b4eace739c8ee64dcd8a8a45a3ac4 (diff) | |
download | ports-6ef0919abb4cdb8822476bf02323a03a49b0fc51.tar.gz ports-6ef0919abb4cdb8822476bf02323a03a49b0fc51.zip |
- Fix LIB_DEPENDS
- Fix build when WITHOUT_X11 is defined
PR: 44963
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=69596
Diffstat (limited to 'databases/sqsh/Makefile')
-rw-r--r-- | databases/sqsh/Makefile | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/databases/sqsh/Makefile b/databases/sqsh/Makefile index 836c2480343a..a56bc35c14b7 100644 --- a/databases/sqsh/Makefile +++ b/databases/sqsh/Makefile @@ -6,37 +6,39 @@ PORTNAME= sqsh PORTVERSION= 2.1 +PORTREVISION= 1 +PORTCOMMENT= Interactive tool for querying Sybase database servers CATEGORIES= databases MASTER_SITES= http://www.sqsh.org/ EXTRACT_SUFX= -src.tar.gz MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= tds.0:${PORTSDIR}/databases/freetds - -.ifndef WITHOUT_X11 -WITH_MOTIF= yes -CONFIGURE_ARGS+=--with-motif -USE_XLIB= yes -.else -PKGNAMESUFFIX+= -nox11 -.endif +LIB_DEPENDS= tds.0:${PORTSDIR}/databases/freetds \ + intl.4:${PORTSDIR}/devel/gettext +USE_REINPLACE= yes GNU_CONFIGURE= yes -CONFIGURE_ENV+= SYBASE="${LOCALBASE}" -CONFIGURE_ARGS+=--with-readline +CONFIGURE_ENV= SYBASE="${LOCALBASE}" +CONFIGURE_ARGS= --with-readline +ALL_TARGET= build MAN1= sqsh.1 -ALL_TARGET= build +.if defined(WITHOUT_X11) +PKGNAMESUFFIX= -nox11 +.else +USE_MOTIF= yes +CONFIGURE_ARGS+= --with-motif +.endif post-patch: - ${MV} ${WRKSRC}/doc/global.sqshrc ${WRKSRC}/doc/global.sqshrc.in + @${REINPLACE_CMD} -e \ + 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/doc/global.sqshrc do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/sqsh ${PREFIX}/bin - cd ${WRKSRC}/doc && \ - ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/doc/sqsh.1 ${MANPREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/doc/global.sqshrc ${PREFIX}/etc/sqshrc.default .include <bsd.port.mk> |