mirror of
https://git.freebsd.org/ports.git
synced 2025-06-12 16:20:33 -04:00
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 changed files with 5 additions and 5 deletions
|
@ -1,21 +1,21 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= rw
|
PORTNAME= rw
|
||||||
PORTVERSION= 1.0
|
DISTVERSION= 1.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
MASTER_SITES= https://sortix.org/rw/release/
|
MASTER_SITES= https://sortix.org/rw/release/
|
||||||
DISTNAME= rw-portable-${PORTVERSION}
|
DISTNAME= rw-portable-${DISTVERSION}
|
||||||
|
|
||||||
MAINTAINER= jsmith@resonatingmedia.com
|
MAINTAINER= jsmith@resonatingmedia.com
|
||||||
COMMENT= Simple replacement for dd wth standard command line flags
|
COMMENT= Simple replacement for dd wth standard command line flags
|
||||||
|
|
||||||
LICENSE= ISCL
|
LICENSE= ISCL
|
||||||
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
PLIST_FILES= bin/rw man/man1/rw.1.gz
|
PLIST_FILES= bin/rw man/man1/rw.1.gz
|
||||||
|
|
||||||
pre-patch:
|
MAKE_ENV= MANDIR=${MANDIRS}
|
||||||
@${REINPLACE_CMD} -e 's|$$(PREFIX)/share|$$(PREFIX)|' \
|
|
||||||
${WRKSRC}/Makefile
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||||
|
|
Loading…
Add table
Reference in a new issue