1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- Use libobjc.so

- Cleanup
- Use bsd.gnustep.mk
PR:		50479
This commit is contained in:
Dirk Meyer 2003-04-13 08:04:41 +00:00
parent 03546d7cdc
commit a453f3597a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78853

View File

@ -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 <bsd.port.pre.mk>
.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 <bsd.port.post.mk>