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
This commit is contained in:
parent
f4985ef251
commit
7fe8226d7b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=469086
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user