aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-27 22:41:18 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-27 22:41:18 +0800
commit22d82dcb0181e708dcae8e624f56df49a2b11147 (patch)
treef975e6019546b88dbcac15b8944700e8818b8f4a /emulators
parent8e4acb7895d94a162063901f09090a9d27cfa5f5 (diff)
downloadfreebsd-ports-graphics-22d82dcb0181e708dcae8e624f56df49a2b11147.tar.gz
freebsd-ports-graphics-22d82dcb0181e708dcae8e624f56df49a2b11147.tar.zst
freebsd-ports-graphics-22d82dcb0181e708dcae8e624f56df49a2b11147.zip
Support staging
Diffstat (limited to 'emulators')
-rw-r--r--emulators/ucon64/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/emulators/ucon64/Makefile b/emulators/ucon64/Makefile
index 2431a10f2e4..8a9539761bf 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>