# # $FreeBSD$ # # This file contains some variable definitions that are supposed to # make your life easier when dealing with ports related to the GNUstep. # # # Options for user to customize in /etc/make.conf: # ================================================ # # WITH_GNUSTEP_XDPS=yes # use xdps as backend instead of xlib. # # WITH_GNUSTEP_LIBART=yes # use libart as backend instead of xlib. # # # Options for a port before include this file: # ============================================ # # USE_GNUSTEP_BASE=yes # your port depends on the gnustep-base port. # # USE_GNUSTEP_GUI=yes # your port depends on the gnustep-gui port. # # USE_GNUSTEP_BACK=yes # your port depends on the gnustep-back port. # # USE_GNUSTEP_CONFIGURE=yes # call configure script with GNUstep.sh sourced in the current shell # # USE_GNUSTEP_BUILD=yes # call build target with GNUstep.sh sourced in the current shell # # USE_GNUSTEP_INSTALL=yes # call install target with GNUstep.sh sourced in the current shell # # --------------------------------------------------------------------------- .if !defined(_POSTMKINCLUDED) GNUstep_Include_MAINTAINER= dinoex@FreeBSD.org BUILD_DEPENDS+= ${LOCALBASE}/lib/libcallback.a:${PORTSDIR}/devel/ffcall .if !defined(GNUSTEP_WITH_BASE_GCC) LIB_DEPENDS+= objc:${PORTSDIR}/${GNUSTEP_OBJC_PORT} .endif GNUSTEP_MAKE_PORT?= devel/gnustep-make GNUSTEP_OBJC_PORT?= lang/gnustep-objc GNUSTEP_BASE_PORT?= lang/gnustep-base GNUSTEP_GUI_PORT?= x11-toolkits/gnustep-gui GNUSTEP_BACK_PORT?= x11-toolkits/gnustep-back GNUSTEP_XDPS_PORT?= x11-toolkits/gnustep-xdps GNUSTEP_ART_PORT?= x11-toolkits/gnustep-art .if ${MACHINE_ARCH} == "i386" GNU_ARCH= ix86 .else GNU_ARCH= ${MACHINE_ARCH} .endif PLIST_SUB+= GNU_ARCH=${GNU_ARCH} OPSYS=${OPSYS:L} VERSION=${PORTVERSION} PLIST_SUB+= MAJORVERSION=${PORTVERSION:C/([0-9]).*/\1/1} SYSTEMDIR= ${PREFIX}/System SYSMAKEDIR= ${SYSTEMDIR}/Makefiles BUNDLEDIR= ${SYSTEMDIR}/Library/Bundles SYSLIBDIR= ${SYSTEMDIR}/Library/Libraries COMBOLIBDIR= ${SYSTEMDIR}/Library/Libraries LOCALLIBDIR= ${PREFIX}/Local/Library/Libraries PLIST_SUB+= SYSTEMLIBRARY="System/Library" PLIST_SUB+= LOCALLIBRARY="Local/Library" PLIST_SUB+= NOFLAT="" .if defined(WITH_GNUSTEP_DEVEL) PKGNAMESUFFIX?= -devel PLIST_SUB+= GNUSTEP_DEVEL="" PLIST_SUB+= GNUSTEP_STABLE="@comment " .else PLIST_SUB+= GNUSTEP_DEVEL="@comment " PLIST_SUB+= GNUSTEP_STABLE="" .endif .if !defined(GNUSTEP_WITH_BASE_GCC) CC= gcc32 CXX= g++32 .endif # --------------------------------------------------------------------------- # using base # .if defined(USE_GNUSTEP_BASE) BUILD_DEPENDS+= ${COMBOLIBDIR}/libgnustep-base.so:${PORTSDIR}/${GNUSTEP_BASE_PORT} RUN_DEPENDS+= ${COMBOLIBDIR}/libgnustep-base.so:${PORTSDIR}/${GNUSTEP_BASE_PORT} .endif # --------------------------------------------------------------------------- # using gui # .if defined(USE_GNUSTEP_GUI) BUILD_DEPENDS+= ${COMBOLIBDIR}/libgnustep-gui.so:${PORTSDIR}/${GNUSTEP_GUI_PORT} RUN_DEPENDS+= ${COMBOLIBDIR}/libgnustep-gui.so:${PORTSDIR}/${GNUSTEP_GUI_PORT} .endif # --------------------------------------------------------------------------- # using any backend # .if defined(USE_GNUSTEP_BACK) .if defined(WITH_GNUSTEP_XDPS) GNUSTEP_WITH_XDPS=yes .else .if defined(WITH_GNUSTEP_LIBART) USE_GNUSTEP_LIBART=yes .else USE_GNUSTEP_XLIB=yes .endif .endif .endif # --------------------------------------------------------------------------- # Backend using xlib # .if defined(USE_GNUSTEP_XLIB) BUILD_DEPENDS+= ${BACKBUNDLEDIR}/libgnustep-back:${PORTSDIR}/${GNUSTEP_BACK_PORT} RUN_DEPENDS+= ${BACKBUNDLEDIR}/libgnustep-back:${PORTSDIR}/${GNUSTEP_BACK_PORT} BACKBUNDLEDIR= ${BUNDLEDIR}/libgnustep-back.bundle MAKE_FLAGS+= GUI_BACKEND_LIB=back .endif # --------------------------------------------------------------------------- # Backend using xdps # .if defined(USE_GNUSTEP_XDPS) BUILD_DEPENDS+= ${BACKBUNDLEDIR}/libgnustep-xdps:${PORTSDIR}/${GNUSTEP_XDPS_PORT} RUN_DEPENDS+= ${BACKBUNDLEDIR}/libgnustep-xdps:${PORTSDIR}/${GNUSTEP_XDPS_PORT} BACKBUNDLEDIR= ${BUNDLEDIR}/libgnustep-xdps.bundle MAKE_FLAGS+= GUI_BACKEND_LIB=xdps .endif # --------------------------------------------------------------------------- # Backend using libart # .if defined(USE_GNUSTEP_LIBART) BUILD_DEPENDS+= ${BACKBUNDLEDIR}/libgnustep-art:${PORTSDIR}/${GNUSTEP_ART_PORT} RUN_DEPENDS+= ${BACKBUNDLEDIR}/libgnustep-art:${PORTSDIR}/${GNUSTEP_ART_PORT} BACKBUNDLEDIR= ${BUNDLEDIR}/libgnustep-art.bundle MAKE_FLAGS+= GUI_BACKEND_LIB=art .endif # --------------------------------------------------------------------------- # source GNUstep.sh # .if defined(USE_GNUSTEP_CONFIGURE) do-configure: @(cd ${CONFIGURE_WRKSRC}; . ${SYSMAKEDIR}/GNUstep.sh; \ if ! ${SETENV} CC="${CC}" CXX="${CXX}" \ CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ INSTALL="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \ INSTALL_DATA="${INSTALL} -c" \ INSTALL_PROGRAM="${INSTALL} -c" \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; then \ ${ECHO} "===> Script \"${CONFIGURE_SCRIPT}\" failed: here are the contents of \"${CONFIGURE_LOG}\""; \ ${CAT} ${CONFIGURE_LOG}; \ ${ECHO} "(end of \"${CONFIGURE_LOG}\")"; \ ${FALSE}; \ fi) .endif # --------------------------------------------------------------------------- # source GNUstep.sh # .if defined(USE_GNUSTEP_BUILD) BUILD_DEPENDS+= ${SYSMAKEDIR}/GNUstep.sh:${PORTSDIR}/${GNUSTEP_MAKE_PORT} do-build: @(cd ${WRKSRC}; . ${SYSMAKEDIR}/GNUstep.sh; \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET}) .endif # --------------------------------------------------------------------------- # source GNUstep.sh # .if defined(USE_GNUSTEP_INSTALL) RUN_DEPENDS+= ${SYSMAKEDIR}/GNUstep.sh:${PORTSDIR}/${GNUSTEP_MAKE_PORT} do-install: @(cd ${WRKSRC}; . ${SYSMAKEDIR}/GNUstep.sh; \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET}) .if defined(PARALLEL_PACKAGE_BUILD) || defined(BATCH) || defined(CLEAN_ROOT) rm -rf /root/GNUstep .endif .endif .endif # eof 2a3156d4bcfa1dd5543d3940c9'>diffstats
path: root/astro/boinc-einsteinathome
Commit message (Expand)AuthorAgeFilesLines
* - Get Rid MD5 supportmiwi2011-03-191-1/+0
* - update to 1.4.1dinoex2010-03-281-1/+1
* - update to jpeg-8dinoex2010-02-051-1/+1
* - Mark IGNOREpav2009-03-061-0/+2
* - Remove conditional checks relevant only on FreeBSD 5.x and olderpav2009-01-061-8/+5
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1
* Fix pkg-plist as indicated in previous commit but which was theedwin2008-04-212-1/+2
* that was a fast backout. Let's wait until the @rmforce has been implemented b...edwin2008-04-191-1/+1
* Use @dirrmtry and @rmtry macros in the pkg-plistedwin2008-04-191-1/+1
* - Update to S5R3 4.18pav2007-11-122-6/+6
* - Update to S5R2 4.22pav2007-05-253-56/+5
* - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1
* - Desupport 4.Xpav2007-04-161-5/+0
* - Update app_info.xml to allow processing of a new S5RI runpav2007-01-182-0/+51
* - Update to Einstein S5R1 4.09pav2006-06-172-8/+9
* - Update to 4.61pav2006-05-23