aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gnustep-back/Makefile
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2005-07-28 01:14:28 +0800
committerdinoex <dinoex@FreeBSD.org>2005-07-28 01:14:28 +0800
commita3a9b02d5191157f953f28f6ff77a965cb33c388 (patch)
treebee0a6f9aef87a453199e9bc6c5f786507546ebf /x11-toolkits/gnustep-back/Makefile
parenta225f53513697646c1e1ab459bb383f2128c2234 (diff)
downloadfreebsd-ports-gnome-a3a9b02d5191157f953f28f6ff77a965cb33c388.tar.gz
freebsd-ports-gnome-a3a9b02d5191157f953f28f6ff77a965cb33c388.tar.zst
freebsd-ports-gnome-a3a9b02d5191157f953f28f6ff77a965cb33c388.zip
- update to 0.10.0
Diffstat (limited to 'x11-toolkits/gnustep-back/Makefile')
-rw-r--r--x11-toolkits/gnustep-back/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11-toolkits/gnustep-back/Makefile b/x11-toolkits/gnustep-back/Makefile
index db20f009e84d..2750c2728b59 100644
--- a/x11-toolkits/gnustep-back/Makefile
+++ b/x11-toolkits/gnustep-back/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gnustep-back
-PORTVERSION= 0.9.6
+PORTVERSION= 0.10.0
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNUSTEP}
MASTER_SITE_SUBDIR= core
@@ -38,11 +38,12 @@ USE_GNUSTEP_BUILD= yes
USE_GNUSTEP_INSTALL= yes
MAKEFILE=
MAKE_FLAGS+= OPTFLAG="${CFLAGS} -I${X11BASE}/include"
+BACKVERSION= ${PORTVERSION:C/([0-9])*[.]([0-9]*).*/\1\2/1}
BREAKS_IF_PEDANTIC= yes
.if defined(WITH_GNUSTEP_XDPS)
CONFIGURE_ARGS+= --enable-graphics=xdps --with-name=xdps
-PLIST_SUB+= BACK=xdps
+PLIST_SUB+= BACK=xdps-${BACKVERSION}
PLIST_SUB+= USE_XLIB="@comment " USE_XDPS="" USE_ART="@comment "
BACK_SUFFIX?= -xdps
CONFLICTS?= gunstep-back-0.* gunstep-back-art-0.*
@@ -52,13 +53,13 @@ LIB_DEPENDS+= art_lgpl_2:${PORTSDIR}/graphics/libart_lgpl2
LIB_DEPENDS+= glitz-glx.1:${PORTSDIR}/graphics/glitz
LIB_DEPENDS+= cairo.1:${PORTSDIR}/graphics/cairo
CONFIGURE_ARGS+= --enable-graphics=art --with-name=art
-PLIST_SUB+= BACK=art USE_XLIB="@comment "
+PLIST_SUB+= BACK=art-${BACKVERSION}
PLIST_SUB+= USE_XLIB="@comment " USE_XDPS="@comment " USE_ART=""
BACK_SUFFIX?= -art
CONFLICTS?= gunstep-back-0.* gunstep-back-xdps-0.*
.else
CONFIGURE_ARGS+= --enable-graphics=xlib --with-name=back
-PLIST_SUB+= BACK=back
+PLIST_SUB+= BACK=back-${BACKVERSION}
PLIST_SUB+= USE_XLIB="" USE_XDPS="@comment " USE_ART="@comment "
CONFLICTS?= gunstep-back-xdps-0.* gunstep-back-art-0.*
.endif
@@ -71,6 +72,7 @@ TARGLIB!= (cd ${PORTSDIR}/${GNUSTEP_OBJC_PORT} && make -V TARGLIB)
ADDITIONAL_LDFLAGS+= -L${TARGLIB}
MAKE_ENV+= ADDITIONAL_LDFLAGS="${ADDITIONAL_LDFLAGS}"
MAKE_FLAGS+= messages=yes
+PLIST_SUB+= BACKVERSION=${PORTVERSION:C/([0-9])*[.]([0-9]*).*/\1\2/1}
.if ${OSVERSION} < 500000
ADDITIONAL_LDFLAGS+= -L/usr/lib -lcipher