Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 2014 13:59:21 +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: r374267 - head/games/mindguard
Message-ID:  <201412081359.sB8DxLck022105@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Dec  8 13:59:21 2014
New Revision: 374267
URL: https://svnweb.freebsd.org/changeset/ports/374267
QAT: https://qat.redports.org/buildarchive/r374267/

Log:
  - Add LICENSE
  - Switch to USES=tar:tgz
  - Simplify installation

Deleted:
  head/games/mindguard/pkg-plist
Modified:
  head/games/mindguard/Makefile

Modified: head/games/mindguard/Makefile
==============================================================================
--- head/games/mindguard/Makefile	Mon Dec  8 13:59:11 2014	(r374266)
+++ head/games/mindguard/Makefile	Mon Dec  8 13:59:21 2014	(r374267)
@@ -6,46 +6,31 @@ PORTVERSION=	0.0.0.4
 PORTREVISION=	5
 CATEGORIES=	games
 MASTER_SITES=	http://zapatopi.net/mindguard/
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Helpful utility for detecting and jamming harmful mind-control rays
 
+LICENSE=	MGPL
+LICENSE_NAME=	MINDGUARD PUBLIC LICENSE
+LICENSE_FILE=	${WRKSRC}/COPYING
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+USES=		tar:tgz
 USE_GNOME=	gtk12
 
 ALL_TARGET=	# empty
 
-CARRIERS=	antarctic.carrier belgian.carrier beta.carrier \
-		brother.carrier kpsi.carrier liberati.carrier \
-		reticulian.carrier russel.carrier tz8.carrier \
-		unmetric.carrier
-
-DOCS=	algorithms.html antarctic.html author.html \
-	biorhythm.html carriers.html cia.html \
-	depsych.html diagnostic.html failure.html \
-	fbi.html features.html fetus.html \
-	index.html install.html interface.html \
-	introduction.html jam.html kpsi.html \
-	lead.html liberati.html log.html \
-	mgjamtab.png mglogtab.png mgmisctab.png \
-	mgpl.html mgpsid.png mgwin.png \
-	numerology.html prefs.html psident.html \
-	quit.html reticulan.html russian.html \
-	scan.html simulacra.html style.css \
-	tikiroom.html un.html usage.html \
-	versions.html
+PLIST_FILES=	bin/${PORTNAME}
+PORTDATA=	*
+PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/mindguard ${STAGEDIR}${PREFIX}/bin/mindguard
-	${MKDIR} ${STAGEDIR}${PREFIX}/share/mindguard
-.for i in ${CARRIERS}
-	${INSTALL_DATA} ${WRKSRC}/carriers/$i ${STAGEDIR}${PREFIX}/share/mindguard
-.endfor
-	${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/mindguard
-.for i in ${DOCS}
-	${INSTALL_DATA} ${WRKSRC}/docs/$i ${STAGEDIR}${PREFIX}/share/doc/mindguard
-.endfor
+	${INSTALL_PROGRAM} ${WRKSRC}/mindguard ${STAGEDIR}${PREFIX}/bin/
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/carriers/*.carrier ${STAGEDIR}${DATADIR}/
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>



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