- Add LICENSE

- Pet portlint
- Switch to @sample

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-08-30 10:51:41 +00:00
parent a75173733d
commit 206f6d865e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395611
2 changed files with 8 additions and 9 deletions

View file

@ -12,8 +12,11 @@ DIST_SUBDIR= qemu
MAINTAINER= nox@FreeBSD.org
COMMENT= QEMU CPU Emulator
LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/COPYING
HAS_CONFIGURE= yes
USES= cpe gmake perl5 compiler:features
USES= compiler:features cpe gmake perl5
USE_PERL5= build
PATCH_STRIP= -p1
MAKE_ENV+= BSD_MAKE="${MAKE}"
@ -156,7 +159,7 @@ post-configure:
${WRKSRC}/config-host.mak
post-install:
@${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc
@${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc
${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc
${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc
.include <bsd.port.post.mk>

View file

@ -18,12 +18,8 @@ bin/qemu-img
bin/qemu-system-x86_64
man/man1/qemu.1.gz
man/man1/qemu-img.1.gz
@unexec if cmp -s %D/etc/qemu-ifup.sample %D/etc/qemu-ifup; then rm -f %D/etc/qemu-ifup; fi
etc/qemu-ifup.sample
@exec if [ ! -f %D/etc/qemu-ifup ] ; then cp -p %D/%F %B/qemu-ifup; fi
@unexec if cmp -s %D/etc/qemu-ifdown.sample %D/etc/qemu-ifdown; then rm -f %D/etc/qemu-ifdown; fi
etc/qemu-ifdown.sample
@exec if [ ! -f %D/etc/qemu-ifdown ] ; then cp -p %D/%F %B/qemu-ifdown; fi
@sample etc/qemu-ifup.sample
@sample etc/qemu-ifdown.sample
%%PORTDOCS%%%%DOCSDIR%%/qemu-doc.html
%%PORTDOCS%%%%DOCSDIR%%/qemu-tech.html
%%DATADIR%%/bios.bin