pkgsrc/sysutils/atitvout/Makefile

46 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.14 2012/10/23 19:50:51 asau Exp $
DISTNAME= atitvout-0.4
PKGREVISION= 1
CATEGORIES= sysutils graphics
MASTER_SITES= http://0pointer.de/lennart/projects/atitvout/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://0pointer.de/lennart/projects/atitvout/
COMMENT= Allows TV-Out connector support under Linux/NetBSD
ONLY_FOR_PLATFORM= NetBSD-*-i386 # Linux-*-i386 [gnumakefile needs work]
WRKSRC= ${WRKDIR}/atitvout
USE_CONFIGURE= YES
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
2005-04-05 12:42:47 +02:00
.include "../../emulators/lrmi/buildlink3.mk"
2006-09-09 04:41:53 +02:00
MAKE_FILE= Makefile.bsd
do-configure:
${CP} ${FILESDIR}/Makefile.bsd ${WRKSRC}
.endif
REPLACE_INTERPRETER+= bash
REPLACE.bash.old= /bin/bash
REPLACE.bash.new= ${SH}
REPLACE_FILES.bash= test.sh
SUBST_CLASSES+= sh
SUBST_STAGE.sh= pre-configure
SUBST_FILES.sh= test.sh
SUBST_SED.sh= -e "s,@PREFIX@,${PREFIX},"
2010-01-27 19:25:46 +01:00
INSTALLATION_DIRS= sbin share/doc/atitvout
do-install:
2010-01-27 19:25:46 +01:00
${INSTALL_PROGRAM} ${WRKSRC}/atitvout ${DESTDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/atitvout
${INSTALL_DATA} ${WRKSRC}/test.sh ${DESTDIR}${PREFIX}/share/doc/atitvout
.include "../../mk/bsd.pkg.mk"