Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 May 2018 05:12:28 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469086 - head/sysutils/rw
Message-ID:  <201805050512.w455CSl5089518@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Sat May  5 05:12:28 2018
New Revision: 469086
URL: https://svnweb.freebsd.org/changeset/ports/469086

Log:
  Makefile cleanup
  
  Details:
  - Add LICENSE_FILE
  - Use DISTVERSION instead of PORTVERSION
  - Set the directory to install the manual in via MAKE_ENV and MANDIRS
    instead of REINPLACE_CMD during the pre-patch target.
  - Bump PORTREVISION
  
  PR:		227608
  Submitted by:	0mp
  Approved by:	maintainer timeout

Modified:
  head/sysutils/rw/Makefile

Modified: head/sysutils/rw/Makefile
==============================================================================
--- head/sysutils/rw/Makefile	Sat May  5 03:48:11 2018	(r469085)
+++ head/sysutils/rw/Makefile	Sat May  5 05:12:28 2018	(r469086)
@@ -1,21 +1,21 @@
 # $FreeBSD$
 
 PORTNAME=	rw
-PORTVERSION=	1.0
+DISTVERSION=	1.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	https://sortix.org/rw/release/
-DISTNAME=	rw-portable-${PORTVERSION}
+DISTNAME=	rw-portable-${DISTVERSION}
 
 MAINTAINER=	jsmith@resonatingmedia.com
 COMMENT=	Simple replacement for dd wth standard command line flags
 
 LICENSE=	ISCL
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 PLIST_FILES=	bin/rw man/man1/rw.1.gz
 
-pre-patch:
-	@${REINPLACE_CMD} -e 's|$$(PREFIX)/share|$$(PREFIX)|' \
-	  	${WRKSRC}/Makefile
+MAKE_ENV=	MANDIR=${MANDIRS}
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}



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