svn commit: r330920 - in head/games/aestats: . files
Alexey Dokuchaev
danfe at FreeBSD.org
Sat Oct 19 17:30:44 UTC 2013
Author: danfe
Date: Sat Oct 19 17:30:43 2013
New Revision: 330920
URL: http://svnweb.freebsd.org/changeset/ports/330920
Log:
- Stagify
- Contract MASTER_SITES (merge in MASTER_SITE_SUBDIR)
- Fix a warning revealed by Clang while here
Modified:
head/games/aestats/Makefile
head/games/aestats/files/fbsd_stub.c
Modified: head/games/aestats/Makefile
==============================================================================
--- head/games/aestats/Makefile Sat Oct 19 17:24:21 2013 (r330919)
+++ head/games/aestats/Makefile Sat Oct 19 17:30:43 2013 (r330920)
@@ -5,8 +5,7 @@ PORTNAME= aestats
PORTVERSION= 5.39
CATEGORIES= games
MASTER_SITES= ftp://download:download@download.hugelaser.com/aeons.poweredbylasers.com/${PORTNAME}/ \
- http://freebsd.nsu.ru/distfiles/ ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= danfe
+ http://freebsd.nsu.ru/distfiles/ LOCAL/danfe
DISTNAME= ${PORTNAME}-v${PORTVERSION}
MAINTAINER= danfe at FreeBSD.org
@@ -33,20 +32,22 @@ post-extract: .SILENT
# us Linux .o files instead. With some hacking, we can build native FreeBSD
# executables from those .o files. Pretty neat, huh? :-)
#
-NO_STAGE= yes
pre-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -c fbsd_stub.c
${OBJCOPY} --redefine-sym stdout=__stdoutp ${WRKSRC}/aespages.o
${OBJCOPY} --redefine-sym stdout=__stdoutp ${WRKSRC}/paessubs.o
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/AEstats ${WRKSRC}/preAEs ${PREFIX}/bin
- @${MKDIR} ${DATADIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/AEstats ${WRKSRC}/preAEs \
+ ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${LINUXBINDIR}/AEsscore.cfg \
- ${LINUXBINDIR}/AEstats.cfg ${LINUXBINDIR}/banlist.txt ${DATADIR}
- ${INSTALL_DATA} ${LINUXBINDIR}/alias-example.txt ${DATADIR}/alias.txt
- ${INSTALL_DATA} ${WRKSRC}/../AEstats.txt ${DATADIR}
+ ${LINUXBINDIR}/AEstats.cfg ${LINUXBINDIR}/banlist.txt \
+ ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${LINUXBINDIR}/alias-example.txt \
+ ${STAGEDIR}${DATADIR}/alias.txt
+ ${INSTALL_DATA} ${WRKSRC}/../AEstats.txt ${STAGEDIR}${DATADIR}
cd ${WRKSRC}/.. && ${FIND} logs stats unrealmod | \
- ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
+ ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>
Modified: head/games/aestats/files/fbsd_stub.c
==============================================================================
--- head/games/aestats/files/fbsd_stub.c Sat Oct 19 17:24:21 2013 (r330919)
+++ head/games/aestats/files/fbsd_stub.c Sat Oct 19 17:30:43 2013 (r330920)
@@ -1,6 +1,7 @@
#include <sys/param.h>
#include <sys/stat.h>
#include <runetype.h>
+#include <stdlib.h>
long int
__strtol_internal(__const char *__restrict __nptr, char **__restrict __endptr,
More information about the svn-ports-all
mailing list