Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 15:57:53 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346534 - head/audio/ample
Message-ID:  <201402281557.s1SFvrkY056769@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Feb 28 15:57:52 2014
New Revision: 346534
URL: http://svnweb.freebsd.org/changeset/ports/346534
QAT: https://qat.redports.org/buildarchive/r346534/

Log:
  Staging support

Modified:
  head/audio/ample/Makefile

Modified: head/audio/ample/Makefile
==============================================================================
--- head/audio/ample/Makefile	Fri Feb 28 15:57:45 2014	(r346533)
+++ head/audio/ample/Makefile	Fri Feb 28 15:57:52 2014	(r346534)
@@ -9,14 +9,18 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 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}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402281557.s1SFvrkY056769>