1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/multimedia/nxtvepg/Makefile

42 lines
1.1 KiB
Makefile

# Created by: Simon Barner <barner@gmx.de>
# $FreeBSD$
PORTNAME= nxtvepg
PORTVERSION= 2.8.0
CATEGORIES= multimedia tcl tk
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Viewer for Nextview Electronic TV Programme Guide (needs bktr driver)
LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84
NOT_FOR_ARCHS= sparc64
USE_GMAKE= yes
USE_XORG= x11 xmu
MAKE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS} WRKSRC=${WRKSRC} X11BASE=${LOCALBASE}
MAN1= nxtvepg.1 nxtvepgd.1
MYPORTDOCS= README TODO CHANGES manual.html
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e "s,machine/ioctl_bt848.h,dev/bktr/ioctl_bt848.h,; \
s,machine/ioctl_meteor.h,dev/bktr/ioctl_meteor.h," \
${WRKSRC}/epgvbi/btdrv4linux.c ${WRKSRC}/tvsim/tvsim_main.c
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/nxtvepg ${LOCALBASE}/bin
${INSTALL_DATA} ${WRKSRC}/Nxtvepg.ad ${LOCALBASE}/lib/X11/app-defaults/Nxtvepg
${INSTALL_MAN} ${WRKSRC}/nxtvepg.1 ${LOCALBASE}/man/man1
${INSTALL_MAN} ${WRKSRC}/nxtvepgd.1 ${LOCALBASE}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${MYPORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>