5acfd868bd
feedback from landry@, jasper@, sthen@ OK sthen@
61 lines
1.9 KiB
Makefile
61 lines
1.9 KiB
Makefile
# $OpenBSD: Makefile,v 1.15 2011/06/24 10:54:51 sebastia Exp $
|
|
|
|
COMMENT= GNUstep workspace manager
|
|
|
|
DISTNAME= gworkspace-0.8.8
|
|
REVISION = 9
|
|
|
|
CATEGORIES= x11
|
|
|
|
SO_VERSION= 0.0
|
|
.for _lib in DBKit FSNode Inspector Operation MDKit
|
|
SHARED_LIBS+= ${_lib} ${SO_VERSION}
|
|
.endfor
|
|
|
|
HOMEPAGE= http://www.gnustep.org/experience/GWorkspace.html
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNUSTEP:=usr-apps/}
|
|
|
|
MODULES= x11/gnustep
|
|
WANTLIB += c m pthread freetype PDFKit sqlite3 PreferencePanes
|
|
BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS}
|
|
LIB_DEPENDS += databases/sqlite3 \
|
|
x11/gnustep/pdfkit \
|
|
x11/gnustep/systempreferences
|
|
|
|
USE_LIBTOOL = Yes
|
|
AUTOCONF_VERSION = 2.52
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS += --enable-gwmetadata
|
|
CONFIGURE_ENV += GNUSTEP_MAKEFILES=`gnustep-config --variable=GNUSTEP_MAKEFILES` \
|
|
GNUSTEP_SYSTEM_HEADERS=${LOCALBASE}/include \
|
|
LDFLAGS=-L${X11BASE}/lib
|
|
|
|
# XXX libDBKit does not use XXX_INTERFACE_VERSION
|
|
# drawback: all solibs will get version from LIBDBKit_VERSION
|
|
MAKE_FLAGS+= INTERFACE_VERSION=${LIBDBKit_VERSION} \
|
|
LDFLAGS="-L${X11BASE}/lib -lfreetype"
|
|
|
|
MAKE_ENV+= FSNode_VERSION=${LIBFSNode_VERSION} \
|
|
FSNode_INTERFACE_VERSION=${LIBFSNode_VERSION} \
|
|
Inspector_VERSION=${LIBInspector_VERSION} \
|
|
Inspector_INTERFACE_VERSION=${LIBInspector_VERSION} \
|
|
Operation_VERSION=${LIBOperation_VERSION} \
|
|
Operation_INTERFACE_VERSION=${LIBOperation_VERSION} \
|
|
ADDITIONAL_LIB_DIRS="-L../../DBKit/obj/ \
|
|
-L../../../FSNode/FSNode.framework/Versions/Current/ \
|
|
-L../../../DBKit/obj/"
|
|
|
|
pre-configure:
|
|
cp ${FILESDIR}/MDFinder_GNUmakefile ${WRKSRC}/GWMetadata/MDFinder/GNUmakefile
|
|
cp ${FILESDIR}/Preferences_GNUmakefile ${WRKSRC}/GWMetadata/Preferences/GNUmakefile
|
|
cd ${WRKSRC}/GWMetadata/gmds/mdextractor/Extractors/JpegExtractor && \
|
|
AUTOCONF_VERSION=${AUTOCONF_VERSION} autoconf
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/Inspector/ContentViewersProtocol.h \
|
|
${PREFIX}/lib/GNUstep/Frameworks/Inspector.framework/Versions/${SO_VERSION}/Headers/
|
|
|
|
.include <bsd.port.mk>
|