Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Aug 2015 10:51:42 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r395611 - head/emulators/qemu
Message-ID:  <201508301051.t7UApgLx081412@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Aug 30 10:51:41 2015
New Revision: 395611
URL: https://svnweb.freebsd.org/changeset/ports/395611

Log:
  - Add LICENSE
  - Pet portlint
  - Switch to @sample
  
  Approved by:	portmgr blanket

Modified:
  head/emulators/qemu/Makefile
  head/emulators/qemu/pkg-plist

Modified: head/emulators/qemu/Makefile
==============================================================================
--- head/emulators/qemu/Makefile	Sun Aug 30 10:51:18 2015	(r395610)
+++ head/emulators/qemu/Makefile	Sun Aug 30 10:51:41 2015	(r395611)
@@ -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>

Modified: head/emulators/qemu/pkg-plist
==============================================================================
--- head/emulators/qemu/pkg-plist	Sun Aug 30 10:51:18 2015	(r395610)
+++ head/emulators/qemu/pkg-plist	Sun Aug 30 10:51:41 2015	(r395611)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508301051.t7UApgLx081412>