diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-04-13 15:38:27 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-04-13 15:38:27 +0800 |
commit | 1cc1e7a344cdecd0e5531c227cebca2793a3d2ce (patch) | |
tree | 2c25057c52c347bca7c43e0c4e66c199842afbf3 /misc/gnustep-examples | |
parent | dd39192df6ad45880ffe9596b55ca7d6bb24f07f (diff) | |
download | freebsd-ports-graphics-1cc1e7a344cdecd0e5531c227cebca2793a3d2ce.tar.gz freebsd-ports-graphics-1cc1e7a344cdecd0e5531c227cebca2793a3d2ce.tar.zst freebsd-ports-graphics-1cc1e7a344cdecd0e5531c227cebca2793a3d2ce.zip |
- Use libobjc.so
- Cleanup
- Use bsd.gnustep.mk
PR: 50479
Diffstat (limited to 'misc/gnustep-examples')
-rw-r--r-- | misc/gnustep-examples/Makefile | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/misc/gnustep-examples/Makefile b/misc/gnustep-examples/Makefile index e7ca22cf63e..4df6bbfc793 100644 --- a/misc/gnustep-examples/Makefile +++ b/misc/gnustep-examples/Makefile @@ -15,45 +15,33 @@ MASTER_SITE_SUBDIR= core MAINTAINER= dinoex@FreeBSD.org COMMENT= GNUstep example applications -BUILD_DEPENDS= ${BACKBUNDLEDIR}/libgnustep-back:${PORTSDIR}/x11-toolkits/gnustep-back -BUILD_DEPENDS+= ${LOCALBASE}/lib/libcallback.a:${PORTSDIR}/devel/ffcall -RUN_DEPENDS= ${BACKBUNDLEDIR}/libgnustep-back:${PORTSDIR}/x11-toolkits/gnustep-back - PREFIX= ${LOCALBASE}/GNUstep +NO_MTREE= yes WRKSRC= ${WRKDIR}/${DISTNAME} GUN_CONFIGURE= yes USE_GMAKE= yes MAKEFILE= GNUmakefile ALL_TARGET= -NO_MTREE= yes -BACKBUNDLEDIR= ${PREFIX}/System/Library/Bundles/libgnustep-back.bundle/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu MAKE_APPS= Finger GFractal GPuzzle HostAddress INSTALL_APPS= Finger GFractal GPuzzle HostAddress .include <bsd.port.pre.mk> -.if ${MACHINE_ARCH} == "i386" -GNU_ARCH= ix86 -.else -GNU_ARCH= ${MACHINE_ARCH} -.endif +USE_GNUSTEP_BACK= yes +USE_GNUSTEP_BUILD= yes +USE_GNUSTEP_INSTALL= yes +.include "${PORTSDIR}/devel/gnustep/bsd.gnustep.mk" -PLIST_SUB+= GNU_ARCH=${GNU_ARCH} OPSYS=${OPSYS:L} - -do-build: - @(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \ - ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET}) +post-build: .for i in ${MAKE_APPS} - @(cd ${WRKSRC}/gui/${i}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \ + @(cd ${WRKSRC}/gui/${i}; . ${SYSMAKEDIR}/GNUstep.sh; \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET}) .endfor -do-install: - @(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \ - ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET}) +post-install: .for i in ${INSTALL_APPS} - @(cd ${WRKSRC}/gui/${i}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \ + @(cd ${WRKSRC}/gui/${i}; . ${SYSMAKEDIR}/GNUstep.sh; \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET}) .endfor |