aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/eject/Makefile
blob: 87e32226bfb3d1318007931c0b840b48ce782dbd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: shige
# $FreeBSD$

PORTNAME=   eject
PORTVERSION=    1.5
PORTREVISION=   4
CATEGORIES= sysutils
MASTER_SITES=   ftp://ports.jp.FreeBSD.org/pub/FreeBSD-jp/OD/ \
        ftp://ftp4.jp.FreeBSD.org/pub/FreeBSD-jp/OD/ \
        ftp://ftp.ics.es.osaka-u.ac.jp/pub/mirrors/FreeBSD-jp/OD/

MAINTAINER= sylvio@FreeBSD.org
COMMENT=    Utility for ejecting media from CD or optical disk drive

PLIST_FILES=    sbin/eject
PORTDOCS=   README README-J

MAN1=       eject.1
MANCOMPRESSED=  yes

NO_STAGE=   yes
post-patch:
    ${REINPLACE_CMD} -e 's,4555,555,' ${WRKSRC}/Makefile

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>