mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Convert to USES=libtool and USES=pathfix
- Use standard USE_AUTOTOOLS instead of running autoreconf - Add INSTALL_TARGET=install-strip - Use ICONV_CONFIGURE_ARG
This commit is contained in:
parent
6c3d3edd5e
commit
6f7b317701
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366680
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= mdbtools
|
||||
PORTVERSION= 0.7.1
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= https://github.com/brianb/mdbtools/archive/
|
||||
DISTNAME= ${PORTVERSION}
|
||||
@ -18,14 +18,17 @@ BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk \
|
||||
txt2man:${PORTSDIR}/textproc/txt2man
|
||||
LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC
|
||||
|
||||
USES= bison pkgconfig iconv
|
||||
USE_AUTOTOOLS= libtool autoconf automake
|
||||
USES= bison iconv libtool pathfix pkgconfig
|
||||
PATHFIX_MAKEFILEIN= Makefile.am
|
||||
USE_AUTOTOOLS= libtoolize aclocal autoconf automake
|
||||
AUTOMAKE_ARGS= -a -c -f
|
||||
USE_LDCONFIG= yes
|
||||
USE_GNOME= glib20
|
||||
WANT_GNOME= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
|
||||
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \
|
||||
--with-unixodbc=${LOCALBASE}
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
DOCS= AUTHORS ChangeLog HACKING NEWS README TODO
|
||||
|
||||
@ -36,25 +39,14 @@ OPTIONS_DEFINE= DOCS
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${HAVE_GNOME:Mlibgnomeui}!=""
|
||||
USE_XORG= x11
|
||||
USES+= pathfix
|
||||
USE_XORG+= x11
|
||||
USE_GNOME+= gnomeprefix libgnomeui gconf2 intltool
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
|
||||
CFLAGS+= -fpic
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
|
||||
${WRKSRC}/Makefile.am
|
||||
@${REINPLACE_CMD} -e 's|$$(srcdir)/$$<|$$(srcdir)/$$>|g' \
|
||||
${WRKSRC}/doc/Makefile.am
|
||||
|
||||
pre-configure:
|
||||
@cd ${WRKSRC} && ${AUTORECONF} -if
|
||||
|
||||
post-configure:
|
||||
@${REINPLACE_CMD} -e 's|^install-man:.*|install-man: install-man1|' \
|
||||
${WRKSRC}/doc/Makefile.in
|
||||
|
@ -25,19 +25,17 @@ man/man1/mdb-sql.1.gz
|
||||
man/man1/mdb-tables.1.gz
|
||||
man/man1/mdb-ver.1.gz
|
||||
lib/libmdb.a
|
||||
lib/libmdb.la
|
||||
lib/libmdb.so
|
||||
lib/libmdb.so.2
|
||||
lib/libmdb.so.2.0.1
|
||||
lib/libmdbodbc.a
|
||||
lib/libmdbodbc.la
|
||||
lib/libmdbodbc.so
|
||||
lib/libmdbodbcW.a
|
||||
lib/libmdbodbcW.la
|
||||
lib/libmdbodbcW.so
|
||||
lib/libmdbsql.a
|
||||
lib/libmdbsql.la
|
||||
lib/libmdbsql.so
|
||||
lib/libmdbsql.so.2
|
||||
lib/libmdbsql.so.2.0.0
|
||||
libdata/pkgconfig/libmdb.pc
|
||||
libdata/pkgconfig/libmdbsql.pc
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
|
Loading…
Reference in New Issue
Block a user