- clean X11BASE

This commit is contained in:
Dirk Meyer 2008-03-30 09:36:46 +00:00
parent 5301793045
commit 50179d1567
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210160
12 changed files with 27 additions and 27 deletions

View File

@ -29,8 +29,8 @@ USE_GNUSTEP_SYSTEM_LIBS+= WorkspaceCommKit:${ETOILE_SYSTEM_PORT}
SNAPSHOT= 20061221
WRKSRC= ${WRKDIR}/Etoile/
USE_GNUSTEP_MAKE_DIRS+= Services/Private/MenuServer
ADDITIONAL_OBJCFLAGS+= -I${X11BASE}/include
ADDITIONAL_LDFLAGS+= -L${X11BASE}/lib
ADDITIONAL_OBJCFLAGS+= -I${LOCALBASE}/include
ADDITIONAL_LDFLAGS+= -L${LOCALBASE}/lib
XWINDOWSERVERKIT_PORT?= x11/etoile-xwindowserverkit
ETOILE_SYSTEM_PORT?= sysutils/etoile-system

View File

@ -43,17 +43,17 @@ OPTIONS= X11 "X11 support" off \
.if defined(WITH_XPM)
USE_XORG= xpm x11
CPPFLAGS+= -I${X11BASE}/include/X11 -I${X11BASE}/include -DHAVE_LIBXPM
LDFLAGS+= -L${X11BASE}/lib -lXpm -lX11
LDFLAGS2+= -L${X11BASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include/X11 -I${LOCALBASE}/include -DHAVE_LIBXPM
LDFLAGS+= -L${LOCALBASE}/lib -lXpm -lX11
LDFLAGS2+= -L${LOCALBASE}/lib
FEATURES+= GD_XPM
.endif
.if defined(WITH_FONTCONFIG)
LIB_DEPENDS+= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
CPPFLAGS+= -I${X11BASE}/include -DHAVE_LIBFONTCONFIG -DHAVE_PTHREAD ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS} -L${X11BASE}/lib -lfontconfig
LDFLAGS2+= ${PTHREAD_LIBS} -L${X11BASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_LIBFONTCONFIG -DHAVE_PTHREAD ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib -lfontconfig
LDFLAGS2+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
FEATURES+= GD_FONTCONFIG
.endif
@ -70,7 +70,7 @@ USE_PERL5_BUILD= yes
SCRIPTS_ENV+= GD_FONTS="${GD_FONTS}"
.endif
FONTBASE= ${X11BASE}/lib/X11/fonts
FONTBASE= ${LOCALBASE}/lib/X11/fonts
pre-extract::
@${ECHO_MSG} ""

View File

@ -58,7 +58,7 @@ WITH_LIBMNG= yes
WITH_LIBWMF= yes
.endif
.if exists(${X11BASE}/lib/librsvg.so.1)
.if exists(${LOCALBASE}/lib/librsvg.so.1)
WITH_LIBRSVG= yes
.endif

View File

@ -23,8 +23,8 @@ USE_GNOME= gtk12
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-dps-includes=${X11BASE}/include \
--with-dps-libraries=${X11BASE}/lib
CONFIGURE_ARGS= --with-dps-includes=${LOCALBASE}/include \
--with-dps-libraries=${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"

View File

@ -46,7 +46,7 @@ WITH_X11_CHECK= # empty
.if !empty(WITH_X11_CHECK)
USE_XORG= xpm x11
PKGNAMESUFFIX_XPM= +xpm
CONFIGURE_ARGS+= --with-X11-dir="${X11BASE}" --with-xpm
CONFIGURE_ARGS+= --with-X11-dir="${LOCALBASE}" --with-xpm
.endif
EXAMPLES_EN= example.rb \
@ -63,7 +63,7 @@ DOCS_JA= readme.ja \
doc/INSTALL.ja
post-patch:
${RUBY} -i -pe 'sub %r:/win98/windows/FONTS:, "${X11BASE}/lib/X11/fonts/TrueType"' ${WRKSRC}/sample/gdtestttf.rb
${RUBY} -i -pe 'sub %r:/win98/windows/FONTS:, "${LOCALBASE}/lib/X11/fonts/TrueType"' ${WRKSRC}/sample/gdtestttf.rb
.if defined(WITH_GD1)
${RUBY} -i -pe 'sub %r:%%GD%%:, "gd1"' ${WRKSRC}/extconf.rb
.else

View File

@ -52,7 +52,7 @@ CONFIGURE_ARGS+=--disable-nls
.endif
.ifdef WITH_NAS
CONFIGURE_ARGS+= --enable-audio --with-audio-cmd=${X11BASE}/bin/auplay
CONFIGURE_ARGS+= --enable-audio --with-audio-cmd=${LOCALBASE}/bin/auplay
RUN_DEPENDS= auplay:${PORTSDIR}/audio/nas
.elifdef WITH_SOX
CONFIGURE_ARGS+= --enable-audio --with-audio-cmd=${LOCALBASE}/bin/play
@ -103,7 +103,7 @@ do-install:
.if !defined(WITHOUT_X11)
${INSTALL_PROGRAM} ${WRKSRC}/faces/faces ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/faces/faces.1 ${MANPREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/faces/Faces.ad ${X11BASE}/lib/X11/app-defaults/Faces
${INSTALL_DATA} ${WRKSRC}/faces/Faces.ad ${LOCALBASE}/lib/X11/app-defaults/Faces
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}

View File

@ -31,8 +31,8 @@ USE_XORG= x11
SNAPSHOT= 20061221
WRKSRC= ${WRKDIR}/Etoile/
USE_GNUSTEP_MAKE_DIRS+= Frameworks/MultimediaKit
ADDITIONAL_OBJCFLAGS+= -I${X11BASE}/include
ADDITIONAL_LDFLAGS+= -L${X11BASE}/lib
ADDITIONAL_OBJCFLAGS+= -I${LOCALBASE}/include
ADDITIONAL_LDFLAGS+= -L${LOCALBASE}/lib
GNUSTEP_MPLAYER_PORT?= multimedia/gnustep-mplayer

View File

@ -48,7 +48,7 @@ post-patch:
post-install:
# ${RM} -rf ${PREFIX}/share/licq/qt-gui/locale
.if exists(${X11BASE}/bin/XFree86)
.if exists(${LOCALBASE}/bin/XFree86)
@${CAT} ${PKGMESSAGE}
.endif

View File

@ -37,7 +37,7 @@ USE_XORG= xft xrender xmu xext x11
USE_FREETYPE= yes
RESTRICTED= GPL3
MAKE_FLAGS+= OPTFLAG="${CFLAGS} -I${X11BASE}/include"
MAKE_FLAGS+= OPTFLAG="${CFLAGS} -I${LOCALBASE}/include"
BACKVERSION= ${PORTVERSION:C/([0-9])*[.]([0-9]*).*/\1\2/1}
BREAKS_IF_PEDANTIC= yes
@ -51,8 +51,8 @@ PLIST_SUB+= BACK=xdps-${BACKVERSION}
PLIST_SUB+= USE_XLIB="@comment "
BACK_SUFFIX?= -xdps
CONFLICTS?= gunstep-back-0.* gunstep-back-art-0.* gunstep-back-cairo-0.*
ADDITIONAL_INCLUDE_DIRS+= -I${X11BASE}/include
ADDITIONAL_LDFLAGS+= -L${X11BASE}/lib
ADDITIONAL_INCLUDE_DIRS+= -I${LOCALBASE}/include
ADDITIONAL_LDFLAGS+= -L${LOCALBASE}/lib
.elif defined(WITH_GNUSTEP_LIBART)
LIB_DEPENDS+= art_lgpl_2:${PORTSDIR}/graphics/libart_lgpl
CONFIGURE_ARGS+= --enable-graphics=art --with-name=art

View File

@ -27,8 +27,8 @@ CONFIGURE_ARGS+= --with-tiff-include=${LOCALBASE}/include
CONFIGURE_ARGS+= --with-jpeg-library=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-jpeg-include=${LOCALBASE}/include
CONFIGURE_ARGS+= --with-x
CONFIGURE_ARGS+= --with-x-include=${X11BASE}/include
CONFIGURE_ARGS+= --with-x-include=${X11BASE}/lib
CONFIGURE_ARGS+= --with-x-include=${LOCALBASE}/include
CONFIGURE_ARGS+= --with-x-include=${LOCALBASE}/lib
USE_GNUSTEP= yes
USE_GNUSTEP_PREFIX= yes
USE_GNUSTEP_CONFIGURE= yes

View File

@ -27,7 +27,7 @@ USE_LDCONFIG= yes
LIBTOOLFILES= aclocal.m4 test/aclocal.m4
CONFIGURE_ARGS+= --enable-static --enable-shared --enable-production
CONFIGURE_ARGS+= --disable-maintainer-mode
CFLAGS+= -I${X11BASE}/include
CFLAGS+= -I${LOCALBASE}/include
MAN1 = lesstif.1 ltversion.1 mwm.1 uil.1 xmbind.1

View File

@ -28,8 +28,8 @@ USE_GNUSTEP_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES}
SNAPSHOT= 20061221
WRKSRC= ${WRKDIR}/Etoile/
USE_GNUSTEP_MAKE_DIRS+= Frameworks/XWindowServerKit
ADDITIONAL_OBJCFLAGS+= -I${X11BASE}/include
ADDITIONAL_LDFLAGS+= -L${X11BASE}/lib
ADDITIONAL_OBJCFLAGS+= -I${LOCALBASE}/include
ADDITIONAL_LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV+= GNUSTEP_INSTALLATION_DIR="${GNUSTEP_SYSTEM_ROOT}"
.include <bsd.port.mk>