aboutsummaryrefslogtreecommitdiffstats
path: root/audio/autocd/Makefile
blob: 0da5f9b611e7ecd3afb2ffc4ba42d3378e6e4cd3 (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: Dmitry Afanasiev <KOT@MATPOCKuH.Ru>
# $FreeBSD$

PORTNAME=   autocd
PORTVERSION=    3.02.12b
PORTREVISION=   2
CATEGORIES= audio sysutils
MASTER_SITES=   ftp://kot.spb.ru/pub/src/projects/autocd/

MAINTAINER= KOT@MATPOCKuH.Ru
COMMENT=    Compact disc control utility

GNU_CONFIGURE=  yes

PORTDOCS=   README.rus.html

USE_RC_SUBR=    autocd

OPTIONS_DEFINE= DOCS

do-install:
    @(cd ${WRKSRC} && ${INSTALL_PROGRAM} acdplay cdctl \
        ${STAGEDIR}${PREFIX}/bin/)
    ${INSTALL_PROGRAM} ${WRKSRC}/autocd ${STAGEDIR}${PREFIX}/sbin
    @(cd ${STAGEDIR}${PREFIX}/bin && \
        ln -s cdctl pause && \
        ln -s cdctl eject)
    @(cd ${WRKSRC} && ${INSTALL_MAN} acdplay.1 cdctl.1 \
        ${STAGEDIR}${PREFIX}/man/man1/)
    ${INSTALL_MAN} ${WRKSRC}/autocd.8 ${STAGEDIR}${PREFIX}/man/man8/
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>