summaryrefslogtreecommitdiff
path: root/audio/ample/Makefile
blob: a42772485fb59814f9b04565a9267fc47317ff70 (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
# 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

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

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

post-install:
	@${ECHO_CMD} "@exec mkdir -p %D/var/log" >> ${TMPPLIST}

.include <bsd.port.mk>