diff options
author | danfe <danfe@FreeBSD.org> | 2007-07-05 06:24:33 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2007-07-05 06:24:33 +0800 |
commit | 56b69d26df1044dcf83f3630b8c438c1c7180c19 (patch) | |
tree | 4c262255af2cb0e0c8e514e539687091b4c48076 /devel/raknet | |
parent | cd530071506d8beb47f79e4731a15b48c2d4458c (diff) | |
download | freebsd-ports-gnome-56b69d26df1044dcf83f3630b8c438c1c7180c19.tar.gz freebsd-ports-gnome-56b69d26df1044dcf83f3630b8c438c1c7180c19.tar.zst freebsd-ports-gnome-56b69d26df1044dcf83f3630b8c438c1c7180c19.zip |
- Spell English `October' correctly
- Get rid or ugly CRLF->LF hack, use DOS2UNIX instead
Eagle eye of: sat
Diffstat (limited to 'devel/raknet')
-rw-r--r-- | devel/raknet/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/devel/raknet/Makefile b/devel/raknet/Makefile index 42ce232fe6d0..91980bf0c049 100644 --- a/devel/raknet/Makefile +++ b/devel/raknet/Makefile @@ -1,5 +1,5 @@ # New ports collection makefile for: RakNet -# Date created: 11 october 2005 +# Date created: 11 October 2005 # Whom: Andrew Baznikin <dikiy@scn.ru> # # $FreeBSD$ @@ -16,6 +16,8 @@ COMMENT= Networking API that provides reliable UDP primarily for online games USE_ZIP= yes USE_LDCONFIG= yes +USE_DOS2UNIX= yes +DOS2UNIX_REGEX= [^ ]*/(makefile.*|.*\.([^x]|cpp)) WRKSRC= ${WRKDIR} PORTDOCS= * @@ -23,13 +25,6 @@ post-patch: .SILENT ${FIND} ${WRKSRC} -name CVS -delete ${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" -e "s|-lpthread|${PTHREAD_LIBS}|" -e "s|-fPIC|-fPIC ${CFLAGS}|" ${WRKSRC}/makefile.defs ${REINPLACE_CMD} -e "s|rm -f|#rm -f|g" -e "s|ln -s|${LN} -sf|" ${WRKSRC}/Makefile - for _F in `${FIND} ${WRKSRC} \ - -iregex '[^ ]*/makefile.*' -or \ - -iregex "[^ ]*/*.cpp" -or \ - -iregex "[^ ]*/*.h"`; do \ - ${AWK} 'gsub( /\r/, "" )' $${_F} > $${_F}.awk.tmp; \ - ${MV} -f $${_F}.awk.tmp $${_F}; \ - done ${MKDIR} ${WRKSRC}/Lib/linux ${LN} -s ${WRKSRC}/Lib ${WRKSRC}/lib # Some GCC 4.2 gimmick |