aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mpg123.el/Makefile
blob: 2414742509a1706a432a77f0a5572c3d83f2b0bd (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
35
36
37
# Created by: Satoshi Taoka <taoka@FreeBSD.org>
# $FreeBSD$

PORTNAME=   mpg123.el
PORTVERSION=    1.52
CATEGORIES= audio elisp
MASTER_SITES=   http://www.gentei.org/~yuuji/software/mpg123el/
EXTRACT_SUFX=   # empty
EXTRACT_ONLY=   # empty
DISTFILES=  mpg123el.cgi?${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Front-end to mpg123/ogg123 audio player for Emacsen

RUN_DEPENDS=    mpg123:${PORTSDIR}/audio/mpg123

FETCH_BEFORE_ARGS=  -o ${DISTDIR}/${PORTNAME}-${PORTVERSION}
NO_WRKSUBDIR=   yes
NO_BUILD=   yes

ELISPDIR=   ${PREFIX}/share/emacs/site-lisp
XELISPDIR=  ${PREFIX}/lib/xemacs/site-lisp

FETCH_ARGS= -AR
FETCH_BEFORE_ARGS=  -o mpg123el.cgi?${PORTVERSION}

do-install:
    ${MKDIR} ${ELISPDIR}
    ${INSTALL_DATA} ${DISTDIR}/mpg123el.cgi?${PORTVERSION} ${ELISPDIR}/${PORTNAME}
# For XEmacs
    ${MKDIR} ${XELISPDIR}
    ${LN} -sf ${ELISPDIR}/${PORTNAME} ${XELISPDIR}/${PORTNAME}

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>