mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- use oniguruma5 by default
- new option WITH_ONIGURUMA4
This commit is contained in:
parent
4b6e89f889
commit
1be10588a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229006
1 changed files with 14 additions and 4 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= ogrekit
|
PORTNAME= ogrekit
|
||||||
PORTVERSION= 0.4.0
|
PORTVERSION= 0.4.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= textproc gnustep
|
CATEGORIES= textproc gnustep
|
||||||
MASTER_SITES= http://download.gna.org/etoile/
|
MASTER_SITES= http://download.gna.org/etoile/
|
||||||
PKGNAMEPREFIX= etoile-
|
PKGNAMEPREFIX= etoile-
|
||||||
|
@ -15,8 +16,6 @@ DISTNAME= etoile-${PORTVERSION}
|
||||||
MAINTAINER= dinoex@FreeBSD.org
|
MAINTAINER= dinoex@FreeBSD.org
|
||||||
COMMENT= Etoile Project OgreKit framework
|
COMMENT= Etoile Project OgreKit framework
|
||||||
|
|
||||||
LIB_DEPENDS= onig:${PORTSDIR}/${ONIGURUMA4_PORT}
|
|
||||||
|
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
USE_GNUSTEP= yes
|
USE_GNUSTEP= yes
|
||||||
USE_GNUSTEP_PREFIX= yes
|
USE_GNUSTEP_PREFIX= yes
|
||||||
|
@ -25,12 +24,23 @@ USE_GNUSTEP_BUILD= yes
|
||||||
USE_GNUSTEP_INSTALL= yes
|
USE_GNUSTEP_INSTALL= yes
|
||||||
USE_GNUSTEP_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES}
|
USE_GNUSTEP_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES}
|
||||||
|
|
||||||
|
OPTIONS= ONIGURUMA4 "build with oniguruma4 instead of oniguruma5" OFF
|
||||||
|
|
||||||
DEFAULT_LIBVERSION= 1.2.1
|
DEFAULT_LIBVERSION= 1.2.1
|
||||||
WRKSRC= ${WRKDIR}/Etoile-${PORTVERSION}
|
WRKSRC= ${WRKDIR}/Etoile-${PORTVERSION}
|
||||||
USE_GNUSTEP_MAKE_DIRS+= Frameworks/OgreKit
|
USE_GNUSTEP_MAKE_DIRS+= Frameworks/OgreKit
|
||||||
ADDITIONAL_OBJCFLAGS+= -DONIGURUMA_4
|
|
||||||
|
|
||||||
UNITKIT_PORT?= devel/etoile-unitkit
|
UNITKIT_PORT?= devel/etoile-unitkit
|
||||||
ONIGURUMA4_PORT?= devel/oniguruma4
|
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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue