46 lines
1003 B
Makefile
46 lines
1003 B
Makefile
# $OpenBSD: Makefile,v 1.2 2004/02/01 04:46:17 jolan Exp $
|
|
|
|
ONLY_FOR_ARCHS= i386 macppc
|
|
|
|
COMMENT= "TV viewing application for bktr(4) cards"
|
|
|
|
DISTNAME= xawtv_3.91
|
|
PKGNAME= ${DISTNAME:S,_,-,}
|
|
CATEGORIES= x11
|
|
|
|
MAINTAINER= Robert Nagy <thuglife@bsd.hu>
|
|
|
|
HOMEPAGE= http://bytesex.org/xawtv/
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
|
LIB_DEPENDS= jpeg.62::graphics/jpeg
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
CONFIGURE_ARGS+=--enable-mmx
|
|
.endif
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ARGS+=--disable-aa --disable-motif
|
|
CONFIGURE_ENV= PKG_CONFIG_PATH="${X11BASE}/lib/pkgconfig"
|
|
|
|
MAKE_FLAGS= verbose=yes SYSCONFDIR="${SYSCONFDIR}"
|
|
NO_REGRESS= Yes
|
|
USE_GMAKE= Yes
|
|
|
|
WRKDIST= ${WRKDIR}/${PKGNAME}
|
|
|
|
post-install:
|
|
@perl -pi -e "s,/etc/X11,${SYSCONFDIR}," ${PREFIX}/man/man5/xawtvrc.5
|
|
${INSTALL_DATA} ${WRKSRC}/x11/Xawtv.ad \
|
|
${PREFIX}/lib/X11/app-defaults/Xawtv
|
|
|
|
.include <bsd.port.mk>
|