aboutsummaryrefslogtreecommitdiff
path: root/audio/ample/Makefile
diff options
context:
space:
mode:
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}