diff options
author | tijl <tijl@FreeBSD.org> | 2014-08-31 05:21:39 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-08-31 05:21:39 +0800 |
commit | 7c9dac16524a65f8128dd79ab0afa4662532f628 (patch) | |
tree | ca391f1f86f0c4a9d4237d1b0c2264dd90968bf1 /databases | |
parent | 47e03c98d77944f48fb174a7a1574eb690162367 (diff) | |
download | freebsd-ports-gnome-7c9dac16524a65f8128dd79ab0afa4662532f628.tar.gz freebsd-ports-gnome-7c9dac16524a65f8128dd79ab0afa4662532f628.tar.zst freebsd-ports-gnome-7c9dac16524a65f8128dd79ab0afa4662532f628.zip |
- Convert to USES=libtool and USES=pathfix
- Use standard USE_AUTOTOOLS instead of running autoreconf
- Add INSTALL_TARGET=install-strip
- Use ICONV_CONFIGURE_ARG
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mdbtools/Makefile | 24 | ||||
-rw-r--r-- | databases/mdbtools/pkg-plist | 6 |
2 files changed, 10 insertions, 20 deletions
diff --git a/databases/mdbtools/Makefile b/databases/mdbtools/Makefile index ae9a2a98565a..79e541ed5892 100644 --- a/databases/mdbtools/Makefile +++ b/databases/mdbtools/Makefile @@ -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 diff --git a/databases/mdbtools/pkg-plist b/databases/mdbtools/pkg-plist index ca1d828c8b4b..4a5236030919 100644 --- a/databases/mdbtools/pkg-plist +++ b/databases/mdbtools/pkg-plist @@ -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 |