Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 May 2014 16:35:17 +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: r352827 - head/irc/irssi-dcc_send_limiter
Message-ID:  <201405021635.s42GZHCw039446@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri May  2 16:35:17 2014
New Revision: 352827
URL: http://svnweb.freebsd.org/changeset/ports/352827
QAT: https://qat.redports.org/buildarchive/r352827/

Log:
  Add staging support

Modified:
  head/irc/irssi-dcc_send_limiter/Makefile

Modified: head/irc/irssi-dcc_send_limiter/Makefile
==============================================================================
--- head/irc/irssi-dcc_send_limiter/Makefile	Fri May  2 16:33:52 2014	(r352826)
+++ head/irc/irssi-dcc_send_limiter/Makefile	Fri May  2 16:35:17 2014	(r352827)
@@ -29,7 +29,6 @@ PLIST_DIRS=	lib/irssi/modules/lib
 
 CFLAGS+=	-shared -fPIC -I${LOCALBASE}/include/irssi -I${LOCALBASE}/include/irssi/src -I${LOCALBASE}/include/irssi/src/core -I${LOCALBASE}/include/irssi/src/irc/core -I${LOCALBASE}/include/irssi/src/irc/dcc `pkg-config --cflags glib-2.0`
 
-NO_STAGE=	yes
 do-extract:
 	@${RM} -rf ${WRKDIR}
 	@${MKDIR} ${WRKDIR}
@@ -39,7 +38,8 @@ do-build:
 	${CC} ${CFLAGS} -o ${WRKDIR}/${DISTNAME}.so ${WRKDIR}/${DISTFILES}
 
 do-install:
-	${MKDIR} ${PREFIX}/lib/irssi/modules/lib
-	${CP} ${WRKSRC}/${DISTNAME}.so ${PREFIX}/lib/irssi/modules/lib/${DISTNAME}.so
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/irssi/modules/lib
+	${INSTALL_LIB} ${WRKSRC}/${DISTNAME}.so \
+		${STAGEDIR}${PREFIX}/lib/irssi/modules/lib
 
 .include <bsd.port.mk>



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