From 95b0fb093b0c0fe3ac4b112fd462a41fa1933a35 Mon Sep 17 00:00:00 2001 From: trevor Date: Thu, 22 Jan 2004 11:06:02 +0000 Subject: Use the SORT macro from bsd.port.mk. --- net/danamics/Makefile | 2 -- net/jarl/Makefile | 2 +- net/openreg/Makefile | 2 +- net/ruby-jabber4r/Makefile | 6 ++++-- net/tik/Makefile | 2 -- 5 files changed, 6 insertions(+), 8 deletions(-) (limited to 'net') diff --git a/net/danamics/Makefile b/net/danamics/Makefile index 245fdfd..34ea979 100644 --- a/net/danamics/Makefile +++ b/net/danamics/Makefile @@ -22,8 +22,6 @@ WRKSRC= ${WRKDIR}/DaNAMiCS PLIST= ${WRKDIR}/plist -SORT?= /usr/bin/sort - pre-install: cd ${WRKSRC}; ${FIND} . -type f \ | ${SORT} | ${SED} -e 's|^\.|danamics|' >${PLIST} diff --git a/net/jarl/Makefile b/net/jarl/Makefile index 6a2da59..f5eb08c 100644 --- a/net/jarl/Makefile +++ b/net/jarl/Makefile @@ -28,7 +28,7 @@ makeplist: ${FIND} ${PREFIX}/share/jarl -type f -print | ${CUT} -d/ -f4- >> \ ${PLIST} ${FIND} ${PREFIX}/share/jarl -type d -print | ${CUT} -d/ -f4- | \ - sort -r | ${SED} 's/^/@dirrm /' >> ${PLIST} + ${SORT} -r | ${SED} 's/^/@dirrm /' >> ${PLIST} post-patch: ${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/jarl diff --git a/net/openreg/Makefile b/net/openreg/Makefile index da9f673..f471759 100644 --- a/net/openreg/Makefile +++ b/net/openreg/Makefile @@ -34,7 +34,7 @@ post-install: for file in `${FIND} ./ ! -type d` ; do \ printf "share/doc/${PORTNAME}/%s\n" $$file >> ${TMPPLIST} ;\ done ;\ - for dir in `${FIND} ./ -type d -mindepth 1| sort -r` ; do \ + for dir in `${FIND} ./ -type d -mindepth 1| ${SORT} -r` ; do \ printf "@dirrm share/doc/${PORTNAME}/%s\n" $$dir >> ${TMPPLIST} ;\ done @${ECHO} "@dirrm share/doc/${PORTNAME}" >> ${TMPPLIST} diff --git a/net/ruby-jabber4r/Makefile b/net/ruby-jabber4r/Makefile index bcc3800..ae911e9 100644 --- a/net/ruby-jabber4r/Makefile +++ b/net/ruby-jabber4r/Makefile @@ -54,8 +54,10 @@ do-install: ${CP} -R ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/ .endfor cd ${WRKSRC} && \ - ${FIND} doc -type f|sort|${SED} 's:^:${PLIST_MODDOCDIR}/:' >> ${TMPPLIST}; \ - ${FIND} doc -type d|sort -r|${SED} 's:^:@dirrm ${PLIST_MODDOCDIR}/:'>> ${TMPPLIST} + ${FIND} doc -type f|${SORT}| \ + ${SED} 's:^:${PLIST_MODDOCDIR}/:' >> ${TMPPLIST}; \ + ${FIND} doc -type d|${SORT} -r| \ + ${SED} 's:^:@dirrm ${PLIST_MODDOCDIR}/:'>> ${TMPPLIST} ${ECHO_CMD} '@dirrm ${PLIST_MODDOCDIR}'>> ${TMPPLIST} .endif diff --git a/net/tik/Makefile b/net/tik/Makefile index 6803b13..ef39829 100644 --- a/net/tik/Makefile +++ b/net/tik/Makefile @@ -20,8 +20,6 @@ RUN_DEPENDS= tclsh8.2:${PORTSDIR}/lang/tcl82 \ NO_BUILD= yes WRKSRC= ${WRKDIR}/tik -SORT?= sort - SRCDIRS= share/tik share/tik/components share/tik/media \ share/tik/packages share/tik/strs -- cgit v1.1