aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ample/Makefile
blob: e9a4f20404478fe0c007f56d8968e4b435ff2e22 (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
# Created by: patrick
# $FreeBSD$

PORTNAME=   ample
PORTVERSION=    0.5.7
CATEGORIES= audio
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}-devel/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Allows you to listen to your own MP3's away from home

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --localstatedir="${PREFIX}/var"

PLIST_FILES=    bin/ample man/man1/ample.1.gz man/man5/ample.conf.5.gz \
        man/man5/ample.html.5.gz
PLIST_DIRS= var/log

post-configure:
    @${REINPLACE_CMD} -E '/INSTALL/ s,\((bin|log)dir\),\(DESTDIR\)$$&,g' \
        ${WRKSRC}/src/Makefile
    @${REINPLACE_CMD} -E '/INSTALL/ s,\(MAN(1|5)PATH\),\(DESTDIR\)$$&,g' \
        ${WRKSRC}/docs/Makefile

.include <bsd.port.mk>