50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
|
# New ports collection makefile for: imageviewer
|
||
|
# Date created: 15 Mar 2003
|
||
|
# Whom: dirk.meyer@dinoex.sub.org
|
||
|
#
|
||
|
# $FreeBSD$
|
||
|
#
|
||
|
|
||
|
PORTNAME= imageviewer
|
||
|
PORTVERSION= 0.6.0
|
||
|
CATEGORIES= graphics
|
||
|
MASTER_SITES= http://www.nice.ch/~phip/
|
||
|
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
|
||
|
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})
|
||
|
|
||
|
.include <bsd.port.post.mk>
|