aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ample
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-02-28 23:57:52 +0800
committerpawel <pawel@FreeBSD.org>2014-02-28 23:57:52 +0800
commite0aef3045cb0c2e9d2cbcbff1c948b4ade4a0e47 (patch)
tree15595fb8c88b5f7a5a8c193fe2e1f28ac9ce5d35 /audio/ample
parentc6123c768df56626e5b6cd33f3e844bf3b2aee83 (diff)
downloadfreebsd-ports-gnome-e0aef3045cb0c2e9d2cbcbff1c948b4ade4a0e47.tar.gz
freebsd-ports-gnome-e0aef3045cb0c2e9d2cbcbff1c948b4ade4a0e47.tar.zst
freebsd-ports-gnome-e0aef3045cb0c2e9d2cbcbff1c948b4ade4a0e47.zip
Staging support
Diffstat (limited to 'audio/ample')
-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}