From a453f3597a674b0ea267365536f7d3a49168a95a Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sun, 13 Apr 2003 08:04:41 +0000 Subject: - Use libobjc.so - Cleanup - Use bsd.gnustep.mk PR: 50479 --- graphics/imageviewer/Makefile | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) (limited to 'graphics/imageviewer') diff --git a/graphics/imageviewer/Makefile b/graphics/imageviewer/Makefile index 73bf1ffe1f9d..38bc38eb0f11 100644 --- a/graphics/imageviewer/Makefile +++ b/graphics/imageviewer/Makefile @@ -14,36 +14,19 @@ DISTNAME= ImageViewer-${PORTVERSION} MAINTAINER= dinoex@FreeBSD.org COMMENT= GNUstep Image Viewer -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}/ImageViewer 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 .include -.if ${MACHINE_ARCH} == "i386" -GNU_ARCH= ix86 -.else -GNU_ARCH= ${MACHINE_ARCH} -.endif - -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}) - -do-install: - @(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \ - ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET}) +USE_GNUSTEP_BACK= yes +USE_GNUSTEP_BUILD= yes +USE_GNUSTEP_INSTALL= yes +.include "${PORTSDIR}/devel/gnustep/bsd.gnustep.mk" .include -- cgit v1.2.3