aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/freexl
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-07-05 02:52:25 +0800
committertijl <tijl@FreeBSD.org>2014-07-05 02:52:25 +0800
commit74d9d6fe71645dc60d99a8ad5bd99bec0a689836 (patch)
treeab18ec3906410f94fffe0cb2a5caed2b0596bb64 /textproc/freexl
parentb39b6ff7526f072f0bca56f73addc069141bae3e (diff)
downloadfreebsd-ports-gnome-74d9d6fe71645dc60d99a8ad5bd99bec0a689836.tar.gz
freebsd-ports-gnome-74d9d6fe71645dc60d99a8ad5bd99bec0a689836.tar.zst
freebsd-ports-gnome-74d9d6fe71645dc60d99a8ad5bd99bec0a689836.zip
- Convert to USES=libtool pathfix
- Use CPPFLAGS/LIBS instead of CFLAGS/LDFLAGS - Don't use locale_charset on FreeBSD 10 with converters/libiconv installed, always use nl_langinfo from libc instead
Diffstat (limited to 'textproc/freexl')
-rw-r--r--textproc/freexl/Makefile14
-rw-r--r--textproc/freexl/pkg-plist2
2 files changed, 6 insertions, 10 deletions
diff --git a/textproc/freexl/Makefile b/textproc/freexl/Makefile
index 30780042b8fe..8b533a5b7387 100644
--- a/textproc/freexl/Makefile
+++ b/textproc/freexl/Makefile
@@ -3,6 +3,7 @@
PORTNAME= freexl
DISTVERSION= 1.0.0g
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.gaia-gis.it/gaia-sins/freexl-sources/
@@ -10,15 +11,10 @@ MAINTAINER= coder@tuxfamily.org
COMMENT= Library to extract valid data from within an Excel (.xls) spreadsheet
GNU_CONFIGURE= yes
-USES= iconv gmake
-
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
-CONFIGURE_ARGS+=CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS= ac_cv_search_locale_charset=no
+CPPFLAGS+= -I${LOCALBASE}/include
+LIBS+= -L${LOCALBASE}/lib
+USES= gmake iconv libtool pathfix
USE_LDCONFIG= yes
-post-patch:
- @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
- ${WRKSRC}/Makefile.in
-
.include <bsd.port.mk>
diff --git a/textproc/freexl/pkg-plist b/textproc/freexl/pkg-plist
index bf8bc0c3f923..190452fd26bc 100644
--- a/textproc/freexl/pkg-plist
+++ b/textproc/freexl/pkg-plist
@@ -1,6 +1,6 @@
include/freexl.h
lib/libfreexl.a
-lib/libfreexl.la
lib/libfreexl.so
lib/libfreexl.so.1
+lib/libfreexl.so.1.0.0
libdata/pkgconfig/freexl.pc