openbsd-ports/x11/gnustep/gui/Makefile

49 lines
1.3 KiB
Makefile
Raw Normal View History

2010-07-30 07:29:44 -04:00
# $OpenBSD: Makefile,v 1.19 2010/07/30 11:29:44 ajacoutot Exp $
COMMENT= GNUstep gui library
DISTNAME= gnustep-gui-0.18.0
2010-07-30 07:29:44 -04:00
REVISION= 1
CATEGORIES= devel
# needs to follow gnustep-back backend versioning
# cf. gnustep_backend_bundle() in ${WRKSRC}/Source/NSApplication.m
SHARED_LIBS= gnustep-gui 0.18 # .0.18.0
HOMEPAGE= http://www.gnustep.org/
2010-07-30 07:29:44 -04:00
WANTLIB += asn1 c crypto gssapi krb5 m objc pthread ssl stdc++ sndfile
WANTLIB += tiff z ao jpeg ungif png cups aspell gnustep-base
2008-10-03 03:21:56 -04:00
MASTER_SITES= ${MASTER_SITE_GNUSTEP:=core/}
MODULES= x11/gnustep
2009-04-10 07:59:06 -04:00
2010-07-30 07:29:44 -04:00
LIB_DEPENDS= ::audio/libao \
::audio/libsndfile \
::graphics/jpeg \
::graphics/libungif \
::graphics/png \
::print/cups \
::textproc/aspell/core \
::x11/gnustep/base
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib -lstdc++ -lm -pthread"
CONFIGURE_ARGS= --with-x
pre-configure:
@perl -pi -e 's,^GNUSTEP_GUI_MAJOR_VERSION=.*,GNUSTEP_GUI_MAJOR_VERSION=${LIBgnustep-gui_VERSION:R},g;' \
-e 's,^GNUSTEP_GUI_MINOR_VERSION=.*,GNUSTEP_GUI_MINOR_VERSION=${LIBgnustep-gui_VERSION:E},g' \
${WRKSRC}/Version
post-install:
${INSTALL_MAN} ${WRKSRC}/Documentation/make_services.1 \
${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/Documentation/gopen.1 \
${PREFIX}/man/man1
.include <bsd.port.mk>