aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gnustep-gui
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-04-13 07:38:27 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-04-13 07:38:27 +0000
commit78917e617ab287d598a9f9bf3a6c647fef473ab8 (patch)
tree931182f68177af0f045cb24bc10655b076dc156b /x11-toolkits/gnustep-gui
parent3361106f3b5506825813eab434eceb114cbd208f (diff)
downloadports-78917e617ab287d598a9f9bf3a6c647fef473ab8.tar.gz
ports-78917e617ab287d598a9f9bf3a6c647fef473ab8.zip
- Use libobjc.so
- Cleanup - Use bsd.gnustep.mk PR: 50479
Notes
Notes: svn path=/head/; revision=78851
Diffstat (limited to 'x11-toolkits/gnustep-gui')
-rw-r--r--x11-toolkits/gnustep-gui/Makefile58
1 files changed, 11 insertions, 47 deletions
diff --git a/x11-toolkits/gnustep-gui/Makefile b/x11-toolkits/gnustep-gui/Makefile
index ba60e6eead1d..7d40badb1658 100644
--- a/x11-toolkits/gnustep-gui/Makefile
+++ b/x11-toolkits/gnustep-gui/Makefile
@@ -15,43 +15,30 @@ MASTER_SITE_SUBDIR= core
MAINTAINER= dinoex@FreeBSD.org
COMMENT= GNUstep GUI library
-BUILD_DEPENDS= ${COMBOLIBDIR}/libgnustep-base.so:${PORTSDIR}/lang/gnustep-base
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libcallback.a:${PORTSDIR}/devel/ffcall
-RUN_DEPENDS= ${COMBOLIBDIR}/libgnustep-base.so:${PORTSDIR}/lang/gnustep-base
LIB_DEPENDS+= tiff.4:${PORTSDIR}/graphics/tiff
LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile
-BREAKS_IF_PEDANTIC= yes
-USE_GCC= 3.2
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 300000
-BROKEN= "Sorry, this port does not work on FreeBSD-2.2.x"
-.endif
-
PREFIX= ${LOCALBASE}/GNUstep
+NO_MTREE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET=
-USE_GMAKE= yes
-MAKEFILE=
-MAKE_FLAGS+= OPTFLAG="${CFLAGS}"
-NO_MTREE= yes
CONFIGURE_ARGS+= --with-tiff-library=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-tiff-include=${LOCALBASE}/include
CONFIGURE_ARGS+= --with-jpeg-library=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-jpeg-include=${LOCALBASE}/include
+USE_GMAKE= yes
+MAKEFILE=
+MAKE_FLAGS+= OPTFLAG="${CFLAGS}"
+BREAKS_IF_PEDANTIC= yes
EXTRA_FIX= ${WRKSRC}/Tools/gsnd/portaudio/pa_unix_oss/Makefile
-.if ${MACHINE_ARCH} == "i386"
-GNU_ARCH= ix86
-.else
-GNU_ARCH= ${MACHINE_ARCH}
-.endif
-PLIST_SUB+= GNU_ARCH=${GNU_ARCH} OPSYS=${OPSYS:L} VERSION=${PORTVERSION} \
- MAJORVERSION=${PORTVERSION:C/([0-9]).*/\1/1}
+.include <bsd.port.pre.mk>
-COMBOLIBDIR= ${PREFIX}/System/Libraries/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu
+USE_GNUSTEP_CONFIGURE= yes
+USE_GNUSTEP_BUILD= yes
+USE_GNUSTEP_INSTALL= yes
+USE_GNUSTEP_BASE= yes
+.include "${PORTSDIR}/devel/gnustep/bsd.gnustep.mk"
post-extract:
.for file in config.guess config.sub install-sh
@@ -64,29 +51,6 @@ pre-configure:
-e "s;-Wall;-Wall ${PTHREAD_CFLAGS:S=""==};" \
${EXTRA_FIX}.sed > ${EXTRA_FIX}
-do-configure:
- @(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/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)
-
-do-build:
- @(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \
- ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
-
-do-install:
- @(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \
- ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
-
test:
@(cd ${WRKSRC}/Tools/gsnd/portaudio/pa_unix_oss && \
${GMAKE} && ./patest)