mirror of
https://git.freebsd.org/ports.git
synced 2025-05-24 23:16:33 -04:00
- Add LICENSE
- Switch to options helpers
This commit is contained in:
parent
cb91d14ef6
commit
c170ce8268
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409446
1 changed files with 8 additions and 4 deletions
|
@ -12,17 +12,21 @@ MASTER_SITES= ftp://ports.jp.FreeBSD.org/pub/FreeBSD-jp/OD/ \
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Utility for ejecting media from CD or optical disk drive
|
COMMENT= Utility for ejecting media from CD or optical disk drive
|
||||||
|
|
||||||
|
LICENSE= BSD2CLAUSE
|
||||||
|
|
||||||
USES= uidfix
|
USES= uidfix
|
||||||
PLIST_FILES= sbin/eject \
|
PLIST_FILES= sbin/eject \
|
||||||
man/man1/eject.1.gz
|
man/man1/eject.1.gz
|
||||||
PORTDOCS= README README-J
|
PORTDOCS= README README-J
|
||||||
MAKE_ARGS= BINOWN=${BINOWN}
|
MAKE_ARGS= BINOWN=${BINOWN}
|
||||||
|
|
||||||
post-patch:
|
OPTIONS_DEFINE= DOCS
|
||||||
${REINPLACE_CMD} -e 's,4555,555,' ${WRKSRC}/Makefile
|
|
||||||
|
|
||||||
post-install:
|
post-patch:
|
||||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${REINPLACE_CMD} -e 's,4555,555,' ${WRKSRC}/Makefile
|
||||||
|
|
||||||
|
post-install-DOCS-on:
|
||||||
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
.for i in ${PORTDOCS}
|
.for i in ${PORTDOCS}
|
||||||
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
Loading…
Add table
Reference in a new issue