2011-04-18 07:56:01 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2011/04/18 11:56:01 sebastia Exp $
|
2007-05-28 23:02:10 -04:00
|
|
|
|
2007-07-21 13:30:10 -04:00
|
|
|
COMMENT= GNUstep gui library
|
2007-05-28 23:02:10 -04:00
|
|
|
|
2011-04-18 07:56:01 -04:00
|
|
|
DISTNAME = gnustep-gui-0.20.0
|
2010-07-05 03:52:02 -04:00
|
|
|
|
2007-05-28 23:02:10 -04:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
2009-03-05 02:47:19 -05:00
|
|
|
# needs to follow gnustep-back backend versioning
|
|
|
|
# cf. gnustep_backend_bundle() in ${WRKSRC}/Source/NSApplication.m
|
2011-04-18 07:56:01 -04:00
|
|
|
SHARED_LIBS = gnustep-gui 0.20 # .0.20.0
|
2009-03-05 02:47:19 -05:00
|
|
|
|
2007-05-28 23:02:10 -04:00
|
|
|
HOMEPAGE= http://www.gnustep.org/
|
|
|
|
|
2010-12-22 04:20:00 -05:00
|
|
|
WANTLIB += objc gnustep-base asn1 crypto gssapi krb5 ssl stdc++
|
|
|
|
WANTLIB += tiff z ao jpeg ungif png cups aspell c m pthread sndfile
|
2007-05-28 23:02:10 -04:00
|
|
|
|
2008-10-03 03:21:56 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNUSTEP:=core/}
|
2007-05-28 23:02:10 -04:00
|
|
|
|
2009-11-22 11:40:03 -05:00
|
|
|
MODULES= x11/gnustep
|
2010-10-26 08:39:10 -04:00
|
|
|
MODGNUSTEP_NEEDS_GUI=No
|
2009-04-10 07:59:06 -04:00
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS= audio/libao \
|
|
|
|
audio/libsndfile \
|
|
|
|
graphics/jpeg \
|
|
|
|
graphics/libungif \
|
|
|
|
graphics/png \
|
|
|
|
print/cups \
|
|
|
|
textproc/aspell/core
|
2007-05-28 23:02:10 -04:00
|
|
|
|
2007-07-25 02:10:40 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
2007-05-28 23:02:10 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng" \
|
2008-12-23 10:26:16 -05:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -lstdc++ -lm -pthread"
|
2010-03-21 05:57:58 -04:00
|
|
|
CONFIGURE_ARGS= --with-x
|
2010-10-19 04:13:56 -04:00
|
|
|
USE_GROFF = Yes
|
2007-05-28 23:02:10 -04:00
|
|
|
|
|
|
|
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>
|