pkgsrc/misc/nxtvepg/Makefile
jlam 3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00

39 lines
964 B
Makefile

# $NetBSD: Makefile,v 1.47 2005/07/16 01:19:14 jlam Exp $
DISTNAME= nxtvepg-2.7.5
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nxtvepg/}
MAINTAINER= magick@zhadum.de
HOMEPAGE= http://sourceforge.net/projects/nxtvepg/
COMMENT= NextView EPG decoder
ONLY_FOR_PLATFORM= NetBSD-1.4[Y-Z]-* NetBSD-1.4Z[A-Z]-* \
NetBSD-1.5_ALPHA-* NetBSD-1.[5-9]*-* \
NetBSD-[2-9]*-*
USE_TOOLS+= gmake perl:run
PTHREAD_AUTO_VARS= yes
.include "../../mk/pthread.buildlink3.mk"
# Only native threads work.
.if ${PTHREAD_TYPE} == "native"
CFLAGS+= -DUSE_THREADS=1
MAKE_ENV+= WANT_THREADS=1
.endif
# Required for Tcl/Tk 8.4
LDFLAGS+= ${PTHREAD_LIBS}
pre-configure:
cd ${WRKSRC}; \
${MV} -f pod2help.pl pod2help.pl.orig; \
${SED} -e "s|@PERL5@|${PERL5}|g" pod2help.pl.orig > pod2help.pl; \
${CHMOD} +x ${WRKSRC}/pod2help.pl
#pre-build:
# cd ${WRKSRC}; \
# ${GMAKE} depend
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"