openbsd-ports/x11/gnustep/pantomime/Makefile
sebastia 5acfd868bd Fix to build with gcc-2.95
feedback from landry@, jasper@, sthen@
OK sthen@
2011-06-24 10:51:48 +00:00

32 lines
808 B
Makefile

# $OpenBSD: Makefile,v 1.10 2011/06/24 10:56:41 sebastia Exp $
COMMENT= framework to major mail protocols
DISTNAME= Pantomime-1.2.0pre3
REVISION = 5
SHARED_LIBS= Pantomime 1.2 # .1.2
CATEGORIES= mail
HOMEPAGE= http://www.collaboration-world.com/pantomime/
WANTLIB= crypto ssl
MASTER_SITES= ${HOMEPAGE}.data/releases/Stable/
MODULES= x11/gnustep
MODGNUSTEP_NEEDS_GUI= No
MODGNUSTEP_NEEDS_BASE= No
BUILD_DEPENDS= x11/gnustep/base
WRKDIST= ${WRKDIR}/Pantomime
MAKE_FLAGS += Pantomime_INTERFACE_VERSION=${LIBPantomime_VERSION}
pre-configure:
@perl -pi -e 's,^PANTOMIME_MAJOR_VERSION=.*,PANTOMIME_MAJOR_VERSION=${LIBPantomime_VERSION:R},g;' \
-e 's,^PANTOMIME_MINOR_VERSION=.*,PANTOMIME_MINOR_VERSION=${LIBPantomime_VERSION:E},g' \
${WRKSRC}/Framework/Pantomime/GNUmakefile
.include <bsd.port.mk>