c7ff05f63e
pkglint -Wall -r --only "substitution command" -F With manual review and indentation fixes since pkglint doesn't get that part correct in every case.
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2019/05/23 19:23:16 rillig 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
|
|
HAS_CONFIGURE= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
.include "../../emulators/lrmi/buildlink3.mk"
|
|
|
|
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_VARS.sh= PREFIX
|
|
|
|
INSTALLATION_DIRS= sbin share/doc/atitvout
|
|
|
|
do-install:
|
|
${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"
|