Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 19:56:52 +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: r346573 - head/audio/ifp-line
Message-ID:  <201402281956.s1SJuqpg055728@svn.freebsd.org>

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

Log:
  Staging support

Modified:
  head/audio/ifp-line/Makefile

Modified: head/audio/ifp-line/Makefile
==============================================================================
--- head/audio/ifp-line/Makefile	Fri Feb 28 19:45:27 2014	(r346572)
+++ head/audio/ifp-line/Makefile	Fri Feb 28 19:56:52 2014	(r346573)
@@ -12,33 +12,24 @@ COMMENT=	Command line interface to iRive
 LICENSE=	GPLv2
 
 USES=		iconv
-NO_STAGE=	yes
 USE_AUTOTOOLS=	aclocal autoheader automake autoconf
 ACLOCAL_ARGS=	-I m4
 MAKE_JOBS_UNSAFE=	yes
 
 CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+LDFLAGS+=	-L${LOCALBASE}/lib -lusb
 
-MAN1=		ifp.1
+PLIST_FILES=	bin/ifp man/man1/ifp.1.gz
 PORTDOCS=	NEWS README TIPS nonroot.sh
-PLIST_FILES+=	bin/ifp
-
-.include <bsd.port.pre.mk>
-
-LDFLAGS+=	-lusb
 
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/LIBUSB/s|ERROR|WARN|' ${WRKSRC}/configure.ac
 
 do-install:
-	(cd ${WRKSRC} && ${INSTALL_PROGRAM} ifp ${PREFIX}/bin)
-	(cd ${WRKSRC} && ${INSTALL_MAN} ifp.1 ${MANPREFIX}/man/man1)
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
-.endif
-	@${CAT} ${PKGMESSAGE}
+	${INSTALL_PROGRAM} ${WRKSRC}/ifp ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/ifp.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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