6b8fe3db6b
* devel/libgsf is the old port minus gsf-gnome bits * devel/libgsf-gnome contains libgsf-gnome-1 library and it's header files This greatly reduces number of dependencies for ports that was using only non-gnome part of this library. - Point USE_GNOME parameter libgsf to GNOME-less port and create new parameter libgsf_gnome for libgsf-gnome port. - Convert all consumers of libgsf-gnome-1 library to depend on libgsf-gnome port (read all as: Gnumeric) PR: ports/63851 (in the spirit of) Submitted by: Sybolt de Boer <sybolt@xs4all.nl> Prodded by: lofi (KDE team) Reviewed by: marcus (GNOME team)
34 lines
848 B
Makefile
34 lines
848 B
Makefile
# New ports collection makefile for: libgsf
|
|
# Date created: 11 September 2002
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libgsf
|
|
PORTVERSION= 1.9.1
|
|
PORTREVISION= 1
|
|
CATEGORIES?= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
|
|
DIST_SUBDIR= gnome2
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT?= An extensible i/o abstraction for dealing with structured file formats
|
|
|
|
.if !exists(/usr/lib/libbz2.so.1)
|
|
LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
|
|
.endif
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
INSTALLS_SHLIB= yes
|
|
USE_GNOME?= gnomehack glib20 libxml2
|
|
USE_LIBTOOL_VER= 13
|
|
CONFIGURE_ARGS?= --with-html-dir=${PREFIX}/share/doc \
|
|
--disable-gtk-doc --without-gnome --with-bz2
|
|
CONFIGURE_ENV?= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
.include <bsd.port.mk>
|