aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-02-24 07:44:06 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-02-24 07:44:06 +0800
commit9274cb3d1a69ad6e5fb575da6ca40346a1da00e7 (patch)
tree3a16d4a3294e60dc35afff9546225492f7480d0c /sysutils
parent1c7f415fd4fb0180c88c509917ed382c9260e5a1 (diff)
downloadfreebsd-ports-gnome-9274cb3d1a69ad6e5fb575da6ca40346a1da00e7.tar.gz
freebsd-ports-gnome-9274cb3d1a69ad6e5fb575da6ca40346a1da00e7.tar.zst
freebsd-ports-gnome-9274cb3d1a69ad6e5fb575da6ca40346a1da00e7.zip
- Add LICENSE
- Switch to options helpers
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/eject/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/sysutils/eject/Makefile b/sysutils/eject/Makefile
index 1dda0b3a0fb0..27be5c655328 100644
--- a/sysutils/eject/Makefile
+++ b/sysutils/eject/Makefile
@@ -12,17 +12,21 @@ MASTER_SITES= ftp://ports.jp.FreeBSD.org/pub/FreeBSD-jp/OD/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility for ejecting media from CD or optical disk drive
+LICENSE= BSD2CLAUSE
+
USES= uidfix
PLIST_FILES= sbin/eject \
man/man1/eject.1.gz
PORTDOCS= README README-J
MAKE_ARGS= BINOWN=${BINOWN}
+OPTIONS_DEFINE= DOCS
+
post-patch:
- ${REINPLACE_CMD} -e 's,4555,555,' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's,4555,555,' ${WRKSRC}/Makefile
-post-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor