pkgsrc/graphics/fxtv/Makefile
abs fb6c29f8bf Update for the fact that 'arm' ports have been called NetBSD-*-arm for a while
now and not NetBSD-*-arm32. Changes include one or more of:
    - Change MACHINE_ARCH == arm32 to also match arm
    - Where ONLY_FOR_PLATFORM includes NetBSD-*-arm32, add NetBSD-*-arm
    - Where BROKEN or worked around for arm gcc bugs, set USE_GCC3
The last may shake out a few more broken packages the next bulk build.
2003-06-11 20:50:50 +00:00

53 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2003/06/11 20:50:54 abs Exp $
DISTNAME= fxtv-1.03
PKGREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tgz
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://people.freebsd.org/~rhh/fxtv/
COMMENT= TV display application for Brooktree 848 compatible TV cards
#ONLY_FOR_PLATFORM= NetBSD-1.[5-9]*-arm NetBSD-1.[5-9]*-arm32 \
# NetBSD-1.[5-9]*-atari NetBSD-1.[5-9]*-i386
USE_BUILDLINK2= YES
USE_X11BASE= YES
USE_GMAKE= YES
XAW_TYPE?= 3d
.include "../../mk/bsd.prefs.mk"
MAKE_ENV+= X11PREFIX=${X11PREFIX}
# The purpose of this check is to make sure that there is a "Xaw3d"
# compatible widget set installed because normal "Xaw" won't work.
#
.if (${XAW_TYPE} == standard)
XAW_TYPE= 3d
.endif
post-extract:
@${RM} -f ${WRKSRC}/videolib/videolib.o
post-patch:
cd ${WRKSRC}; for file in app_rsrc.h Fxtv; do \
${SED} -e "s,/dev/dsp,${DEVOSSAUDIO},g" \
$${file} > $${file}.fixed; \
${MV} -f $${file}.fixed $${file}; \
done
if [ -e /usr/include/machine/mouse.h ] ; then \
echo '#define HAVE_MOUSE_H 1' > ${WRKSRC}/netbsdconf.h; \
else \
echo '#define HAVE_MOUSE_H 0' > ${WRKSRC}/netbsdconf.h; \
fi
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/tiff/buildlink2.mk"
.include "../../graphics/xpm/buildlink2.mk"
.include "../../mk/xaw.buildlink2.mk"
.include "../../mk/ossaudio.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"