svn commit: r346517 - head/comms/uird

Emanuel Haupt ehaupt at FreeBSD.org
Fri Feb 28 13:57:58 UTC 2014


Author: ehaupt
Date: Fri Feb 28 13:57:57 2014
New Revision: 346517
URL: http://svnweb.freebsd.org/changeset/ports/346517
QAT: https://qat.redports.org/buildarchive/r346517/

Log:
  - Support staging
  - USES -> gmake

Modified:
  head/comms/uird/Makefile

Modified: head/comms/uird/Makefile
==============================================================================
--- head/comms/uird/Makefile	Fri Feb 28 13:52:18 2014	(r346516)
+++ head/comms/uird/Makefile	Fri Feb 28 13:57:57 2014	(r346517)
@@ -11,8 +11,7 @@ EXTRACT_SUFX=	.tgz
 MAINTAINER=	lx at FreeBSD.org
 COMMENT=	The Universal IR Receiver Daemon
 
-USE_GMAKE=	yes
-USES=		perl5
+USES=		perl5 gmake
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 ALL_TARGET=	${PORTNAME}
@@ -20,21 +19,15 @@ ALL_TARGET=	${PORTNAME}
 PLIST_FILES=	bin/uird
 PORTDOCS=	Documentation
 
-NO_STAGE=	yes
-
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|gcc|$${CC}\ $${CFLAGS}|; /strip/d' \
 		${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/uird ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/uird ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list