2006-09-09 04:41:53 +02:00
|
|
|
# $NetBSD: Makefile,v 1.10 2006/09/09 02:46:08 obache Exp $
|
2003-08-13 07:22:59 +02: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
|
|
|
|
MASTER_SITES= http://www.stud.uni-hamburg.de/users/lennart/projects/atitvout/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-08-13 07:22:59 +02:00
|
|
|
HOMEPAGE= http://www.stud.uni-hamburg.de/users/lennart/projects/atitvout/
|
|
|
|
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},"
|
|
|
|
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= sbin
|
|
|
|
|
2003-08-13 07:22:59 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/atitvout ${PREFIX}/sbin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/atitvout
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/atitvout
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/test.sh ${PREFIX}/share/doc/atitvout
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|