mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
# New ports collection makefile for: nxtvepg-2.4.2
|
|
# Date created: 07 Jan 2003
|
|
# Whom: Simon Barner <barner@gmx.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= nxtvepg
|
|
PORTVERSION= 2.7.6
|
|
CATEGORIES= multimedia tcl84 tk84
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR=${PORTNAME}
|
|
|
|
MAINTAINER= barner@FreeBSD.org
|
|
COMMENT= Viewer for Nextview Electronic TV Programme Guide (needs bktr driver)
|
|
|
|
LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84
|
|
|
|
USE_GMAKE= yes
|
|
USE_XLIB= yes
|
|
USE_X_PREFIX= yes
|
|
MAKE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS} WRKSRC=${WRKSRC}
|
|
|
|
MAN1= nxtvepg.1
|
|
MYPORTDOCS= README TODO CHANGES manual.html
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
ONLY_FOR_ARCHS= i386
|
|
.else
|
|
NOT_FOR_ARCHS= sparc64
|
|
.endif
|
|
|
|
.if ${OSVERSION} > 502100
|
|
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
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/nxtvepg ${X11BASE}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/Nxtvepg.ad ${X11BASE}/lib/X11/app-defaults/Nxtvepg
|
|
${INSTALL_MAN} ${WRKSRC}/nxtvepg.1 ${X11BASE}/man/man1
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in ${MYPORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|