databases/freetds: Update version 0.91.103=>0.91.112.0.0
- Migrate to USES framework from USE_AUTOTOOLS - Move OPTIONS OPENSSL and GNUTLS under OPTIONS_SINGLE
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= freetds
|
||||
PORTVERSION= 0.91.103
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 0.91.112.0.0
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= ftp://ftp.freetds.org/pub/freetds/stable/
|
||||
@@ -17,9 +16,8 @@ LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt
|
||||
|
||||
TDS_VER?= 5.0
|
||||
|
||||
USES= iconv gmake pkgconfig libtool:keepla
|
||||
USES= autoreconf iconv gmake pkgconfig libtool:keepla tar:bzip2
|
||||
GNU_CONFIGURE= yes
|
||||
USE_AUTOTOOLS= autoconf:env
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
LIBS+= -lgcrypt
|
||||
@@ -30,7 +28,10 @@ INSTALL_TARGET= install-strip
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= OPENSSL GNUTLS DOCS
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_SINGLE= SSL
|
||||
OPTIONS_SINGLE_SSL= OPENSSL GNUTLS
|
||||
OPTIONS_DEFAULT= OPENSSL
|
||||
OPTIONS_RADIO= ODBC
|
||||
OPTIONS_RADIO_ODBC= IODBC UNIXODBC
|
||||
OPENSSL_USE= OPENSSL=yes
|
||||
@@ -57,7 +58,7 @@ post-extract:
|
||||
@cd ${WRKSRC}/src/pool && ${LN} -s pool.conf pool.conf.sample
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
@${FIND} ${WRKSRC} -name "Makefile.am" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|<malloc.h>|<stdlib.h>| ; \
|
||||
s|/freetds.conf|/freetds.conf.sample|g ; \
|
||||
s|/locales.conf|/locales.conf.sample|g ; \
|
||||
@@ -67,10 +68,10 @@ post-patch:
|
||||
s|$$ODBC_INC/isqlext.h|$$ODBC_INC/libiodbc/isqlext.h|g' ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
@${INSTALL_DATA} ${WRKSRC}/interfaces ${STAGEDIR}${ETCDIR}/interfaces.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/interfaces ${STAGEDIR}${ETCDIR}/interfaces.sample
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@(cd ${WRKSRC}/doc/doc/${PORTNAME}-${PORTVERSION} && \
|
||||
(cd ${WRKSRC}/doc/doc/${PORTNAME}-${PORTVERSION} && \
|
||||
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
||||
.endif
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (freetds-0.91.103.tar.gz) = 895cdce6d2af65f79db5e7034d1eba5dd3b63369a0c6b5fbc890e606c699556b
|
||||
SIZE (freetds-0.91.103.tar.gz) = 2061912
|
||||
SHA256 (freetds-0.91.112.0.0.tar.bz2) = 31c3ae92676c325f88306b60c073a274d91b0ec391a5d24eb8cf0039b2b010fa
|
||||
SIZE (freetds-0.91.112.0.0.tar.bz2) = 1803980
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
--- doc/Makefile.in.orig 2014-09-16 20:53:09.681073696 +0600
|
||||
+++ doc/Makefile.in 2014-09-16 20:53:24.383067403 +0600
|
||||
@@ -254,7 +254,7 @@
|
||||
--- doc/Makefile.am.orig 2015-05-10 18:47:04.571197742 +0600
|
||||
+++ doc/Makefile.am 2015-05-10 18:47:22.212197672 +0600
|
||||
@@ -8,7 +8,7 @@
|
||||
TXT2MAN = $(srcdir)/txt2man
|
||||
DOCDIR = doc/freetds-$(VERSION)
|
||||
PRODUCT = FreeTDS
|
||||
-TARGET_DOCDIR = $(DESTDIR)$(datadir)/$(DOCDIR)
|
||||
+TARGET_DOCDIR = $(DESTDIR)$(datadir)/doc/freetds
|
||||
IMAGES = images/important.gif \
|
||||
|
||||
IMAGES = images/important.gif \
|
||||
images/note.gif \
|
||||
images/tip.gif \
|
||||
Reference in New Issue
Block a user