svn commit: r469086 - head/sysutils/rw
Thomas Zander
riggs at FreeBSD.org
Sat May 5 05:12:29 UTC 2018
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 at 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}
More information about the svn-ports-all
mailing list