aboutsummaryrefslogtreecommitdiff
path: root/audio/ample/Makefile
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-02-28 15:57:52 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-02-28 15:57:52 +0000
commit7cfb742746d2c8fe02954401b4f861d5beaa9e47 (patch)
tree15595fb8c88b5f7a5a8c193fe2e1f28ac9ce5d35 /audio/ample/Makefile
parentefda4025b0ca1e644955c93d7167002729c2f1ca (diff)
downloadports-7cfb742746d2c8fe02954401b4f861d5beaa9e47.tar.gz
ports-7cfb742746d2c8fe02954401b4f861d5beaa9e47.zip
Notes
Diffstat (limited to 'audio/ample/Makefile')
-rw-r--r--audio/ample/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/audio/ample/Makefile b/audio/ample/Makefile
index 255a6f45d25c..a42772485fb5 100644
--- a/audio/ample/Makefile
+++ b/audio/ample/Makefile
@@ -9,14 +9,18 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-devel/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Allows you to listen to your own MP3's away from home
-NO_STAGE= yes
GNU_CONFIGURE= yes
-MAN1= ample.1
-MAN5= ample.conf.5 ample.html.5
-PLIST_FILES= bin/ample
+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}