- use oniguruma5 by default

- new option WITH_ONIGURUMA4
This commit is contained in:
Dirk Meyer 2009-02-24 18:01:29 +00:00
parent 4b6e89f889
commit 1be10588a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229006

View file

@ -7,6 +7,7 @@
PORTNAME= ogrekit
PORTVERSION= 0.4.0
PORTREVISION= 1
CATEGORIES= textproc gnustep
MASTER_SITES= http://download.gna.org/etoile/
PKGNAMEPREFIX= etoile-
@ -15,8 +16,6 @@ DISTNAME= etoile-${PORTVERSION}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Etoile Project OgreKit framework
LIB_DEPENDS= onig:${PORTSDIR}/${ONIGURUMA4_PORT}
USE_BZIP2= yes
USE_GNUSTEP= yes
USE_GNUSTEP_PREFIX= yes
@ -25,12 +24,23 @@ USE_GNUSTEP_BUILD= yes
USE_GNUSTEP_INSTALL= yes
USE_GNUSTEP_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES}
OPTIONS= ONIGURUMA4 "build with oniguruma4 instead of oniguruma5" OFF
DEFAULT_LIBVERSION= 1.2.1
WRKSRC= ${WRKDIR}/Etoile-${PORTVERSION}
USE_GNUSTEP_MAKE_DIRS+= Frameworks/OgreKit
ADDITIONAL_OBJCFLAGS+= -DONIGURUMA_4
UNITKIT_PORT?= devel/etoile-unitkit
ONIGURUMA4_PORT?= devel/oniguruma4
ONIGURUMA5_PORT?= devel/oniguruma5
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if defined(WITH_ONIGURUMA4)
ADDITIONAL_OBJCFLAGS+= -DONIGURUMA_4
LIB_DEPENDS+= onig:${PORTSDIR}/${ONIGURUMA4_PORT}
.else
LIB_DEPENDS+= onig:${PORTSDIR}/${ONIGURUMA5_PORT}
.endif
.include <bsd.port.post.mk>