Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2014 14:41:19 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346352 - head/emulators/ucon64
Message-ID:  <201402271441.s1REfJRd098071@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Feb 27 14:41:18 2014
New Revision: 346352
URL: http://svnweb.freebsd.org/changeset/ports/346352
QAT: https://qat.redports.org/buildarchive/r346352/

Log:
  Support staging

Modified:
  head/emulators/ucon64/Makefile

Modified: head/emulators/ucon64/Makefile
==============================================================================
--- head/emulators/ucon64/Makefile	Thu Feb 27 14:36:07 2014	(r346351)
+++ head/emulators/ucon64/Makefile	Thu Feb 27 14:41:18 2014	(r346352)
@@ -9,21 +9,22 @@ DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 MAINTAINER=	root@cooltrainer.org
 COMMENT=	Multipurpose video game ROM image and backup utility
 
+USES=		gmake
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
 USE_LDCONFIG=	yes
-WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}-src/src
 
-NO_STAGE=	yes
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-src/src
+
+PLIST_FILES=	bin/ucon64 lib/libdiscmage.so
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/ucon64.c
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/ucon64_misc.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
-	${INSTALL_PROGRAM} ${WRKSRC}/libdiscmage/discmage.so ${PREFIX}/lib/libdiscmage.so
-
-PLIST_FILES=	bin/ucon64 \
-	lib/libdiscmage.so
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	${INSTALL_LIB} ${WRKSRC}/libdiscmage/discmage.so \
+		${STAGEDIR}${PREFIX}/lib/libdiscmage.so
 
 .include <bsd.port.mk>



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