aboutsummaryrefslogtreecommitdiff
path: root/emulators/ucon64
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-27 14:41:18 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-27 14:41:18 +0000
commit87d34fe0afe7f51e977f1db5ff125542a36a8f41 (patch)
treef975e6019546b88dbcac15b8944700e8818b8f4a /emulators/ucon64
parent42a5e97306b40dc86af475f0c18aa9d0d0ba6020 (diff)
downloadports-87d34fe0afe7f51e977f1db5ff125542a36a8f41.tar.gz
ports-87d34fe0afe7f51e977f1db5ff125542a36a8f41.zip
Support staging
Notes
Notes: svn path=/head/; revision=346352
Diffstat (limited to 'emulators/ucon64')
-rw-r--r--emulators/ucon64/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/emulators/ucon64/Makefile b/emulators/ucon64/Makefile
index 2431a10f2e4f..8a9539761bf6 100644
--- a/emulators/ucon64/Makefile
+++ b/emulators/ucon64/Makefile
@@ -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>