2019-05-23 21:22:54 +02:00
|
|
|
# $NetBSD: Makefile,v 1.16 2019/05/23 19:23:16 rillig Exp $
|
2003-08-13 07:22:59 +02:00
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
DISTNAME= atitvout-0.4
|
2004-12-18 14:18:13 +01:00
|
|
|
PKGREVISION= 1
|
2003-08-13 07:22:59 +02:00
|
|
|
CATEGORIES= sysutils graphics
|
2008-01-05 05:56:27 +01:00
|
|
|
MASTER_SITES= http://0pointer.de/lennart/projects/atitvout/
|
2003-08-13 07:22:59 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2008-01-05 05:56:27 +01:00
|
|
|
HOMEPAGE= http://0pointer.de/lennart/projects/atitvout/
|
2003-08-13 07:22:59 +02:00
|
|
|
COMMENT= Allows TV-Out connector support under Linux/NetBSD
|
|
|
|
|
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-i386 # Linux-*-i386 [gnumakefile needs work]
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/atitvout
|
2016-07-10 12:45:40 +02:00
|
|
|
HAS_CONFIGURE= yes
|
2003-08-13 07:22:59 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
2005-04-05 12:42:47 +02:00
|
|
|
.include "../../emulators/lrmi/buildlink3.mk"
|
2003-08-13 07:22:59 +02:00
|
|
|
|
2006-09-09 04:41:53 +02:00
|
|
|
MAKE_FILE= Makefile.bsd
|
2003-08-13 07:22:59 +02:00
|
|
|
|
|
|
|
do-configure:
|
|
|
|
${CP} ${FILESDIR}/Makefile.bsd ${WRKSRC}
|
|
|
|
.endif
|
|
|
|
|
2006-03-09 12:28:00 +01:00
|
|
|
REPLACE_INTERPRETER+= bash
|
2006-03-11 11:07:49 +01:00
|
|
|
REPLACE.bash.old= /bin/bash
|
|
|
|
REPLACE.bash.new= ${SH}
|
|
|
|
REPLACE_FILES.bash= test.sh
|
2006-03-09 12:28:00 +01:00
|
|
|
|
2004-12-18 14:18:13 +01:00
|
|
|
SUBST_CLASSES+= sh
|
2006-03-09 12:28:00 +01:00
|
|
|
SUBST_STAGE.sh= pre-configure
|
2004-12-18 14:18:13 +01:00
|
|
|
SUBST_FILES.sh= test.sh
|
2019-05-23 21:22:54 +02:00
|
|
|
SUBST_VARS.sh= PREFIX
|
2004-12-18 14:18:13 +01:00
|
|
|
|
2010-01-27 19:25:46 +01:00
|
|
|
INSTALLATION_DIRS= sbin share/doc/atitvout
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2003-08-13 07:22:59 +02:00
|
|
|
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
|
2003-08-13 07:22:59 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|