aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/yape/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/emulators/yape/Makefile b/emulators/yape/Makefile
index 967e93f0a612..5fc88ab490b6 100644
--- a/emulators/yape/Makefile
+++ b/emulators/yape/Makefile
@@ -17,9 +17,8 @@ NO_WRKSUBDIR= yes
ALL_TARGET= yape
PLIST_FILES= bin/yape
-PORTDOCS= *
+PORTDOCS= README.SDL
-NO_STAGE= yes
post-extract:
@${FIND} -E ${WRKDIR} -type f -iregex ".*\.(c|cpp|h|txt)" -print0 | \
${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//'
@@ -30,12 +29,12 @@ post-patch:
@${REINPLACE_CMD} -e "s|TAP::TAP|TAP|" ${WRKSRC}/tape.h
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/yape ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/yape ${STAGEDIR}${PREFIX}/bin
post-install:
.ifndef(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.SDL ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.SDL ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>