54 lines
1.2 KiB
Makefile
54 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.43 2010/11/17 08:05:13 espie Exp $
|
|
|
|
# we use "macppc" and not "powerpc" on purpose here ; i.e. bktr(4) needed
|
|
ONLY_FOR_ARCHS= i386 macppc amd64
|
|
|
|
COMMENT= capture utility for Brooktree-based cards
|
|
DISTNAME= fxtv-1.03
|
|
REVISION = 4
|
|
|
|
CATEGORIES= graphics
|
|
HOMEPAGE= http://people.freebsd.org/~rhh/fxtv/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MASTER_SITES= ${HOMEPAGE} \
|
|
http://mirror.csoft.org/fxtv/
|
|
|
|
LIB_DEPENDS= graphics/tiff \
|
|
graphics/jpeg \
|
|
x11/Xaw3d
|
|
|
|
RUN_DEPENDS= audio/sox>=12.12 \
|
|
audio/mpg321 \
|
|
audio/mp3encode \
|
|
graphics/mpeg_encode>=1.5 \
|
|
graphics/mplex>=1.1 \
|
|
graphics/netpbm
|
|
|
|
# BSD license
|
|
PERMIT_PACKAGE_CDROM= Runtime dependencies have patents
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= ICE SM X11 Xext Xmu Xpm Xt Xxf86dga Xxf86vm c m \
|
|
ossaudio pthread-stubs xcb z tiff>=35 jpeg>=62 \
|
|
Xaw3d>=6.1
|
|
|
|
USE_GMAKE= Yes
|
|
USE_GROFF = Yes
|
|
NO_REGRESS= Yes
|
|
|
|
MAKE_FLAGS= CFLAGS="${CFLAGS}" \
|
|
X11BASE="${X11BASE}" \
|
|
LOCALBASE="${LOCALBASE}"
|
|
FAKE_FLAGS= PREFIX="${WRKINST}${PREFIX}" \
|
|
X11BASEINST="${WRKINST}${PREFIX}" \
|
|
LOCALBASE="${WRKINST}${PREFIX}"
|
|
|
|
pre-build:
|
|
@cd ${WRKSRC} && \
|
|
perl -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
|
fxtv_cnvt.sh app_rsrc.h Fxtv
|
|
|
|
.include <bsd.port.mk>
|