2012-10-23 21:50:50 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2012/10/23 19:50:51 asau 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
|
2003-08-13 07:22:59 +02:00
|
|
|
USE_CONFIGURE= YES
|
|
|
|
|
|
|
|
.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
|
|
|
|
SUBST_SED.sh= -e "s,@PREFIX@,${PREFIX},"
|
|
|
|
|
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"
|