openbsd-ports/x11/gnustep/gui/Makefile
jasper a94aebe509 - update gnustep-gui to 0.18.0
ok aja@ (MAINTAINER)
2010-05-12 16:44:17 +00:00

47 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.16 2010/05/12 16:44:17 jasper Exp $
COMMENT= GNUstep gui library
DISTNAME= gnustep-gui-0.18.0
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/
WANTLIB += asn1 c crypto gssapi krb5 m objc pthread ssl stdc++
WANTLIB += tiff z
MASTER_SITES= ${MASTER_SITE_GNUSTEP:=core/}
MODULES= x11/gnustep
LIB_DEPENDS= ao::audio/libao \
sndfile::audio/libsndfile \
jpeg.>=62::graphics/jpeg \
ungif.>=5::graphics/libungif \
png.>=5::graphics/png \
cups.>=3::print/cups \
aspell.>=16::textproc/aspell/core \
gnustep-base.>=3::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>