mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
- Silence maintainer section
This commit is contained in:
parent
e1334008cd
commit
fa7cefaabc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375707
1 changed files with 7 additions and 7 deletions
|
@ -37,15 +37,15 @@ MS_MASTER_SITE= http://www.cybercom.net/~dcoffin/${PORTNAME}/
|
|||
MS_DISTFILES= ${PORTNAME}.1 ${PORTNAME}.c
|
||||
|
||||
maketar: do-clean extract
|
||||
${MKDIR} ${MS_WRKSRC}/
|
||||
@${MKDIR} ${MS_WRKSRC}/
|
||||
.for file in ${MS_DISTFILES}
|
||||
${FETCH_CMD} -o ${MS_WRKSRC}/${file} ${MS_MASTER_SITE}${file}
|
||||
@${FETCH_CMD} -o ${MS_WRKSRC}/${file} ${MS_MASTER_SITE}${file}
|
||||
.endfor
|
||||
${GREP} '^#define DCRAW_VERSION' ${MS_WRKSRC}/dcraw.c | cut -d'"' -f2 > ${MS_VERSIONFILE}
|
||||
${MKDIR} -m 755 ${MS_WRKSRC}/${PORTNAME}-${MS_VERSION}/
|
||||
cd ${MS_WRKSRC}/ && ${CHMOD} 644 ${MS_DISTFILES} && ${MV} ${MS_DISTFILES} ${PORTNAME}-${MS_VERSION}/
|
||||
(${DIFF} -u ${WRKSRC}/${PORTNAME}.c ${MS_WRKSRC}/${PORTNAME}-${MS_VERSION}/${PORTNAME}.c > ${MS_DIFF}) || ${TRUE}
|
||||
if [ -s ${MS_DIFF} ]; then \
|
||||
@${GREP} '^#define DCRAW_VERSION' ${MS_WRKSRC}/dcraw.c | cut -d'"' -f2 > ${MS_VERSIONFILE}
|
||||
@${MKDIR} -m 755 ${MS_WRKSRC}/${PORTNAME}-${MS_VERSION}/
|
||||
@cd ${MS_WRKSRC}/ && ${CHMOD} 644 ${MS_DISTFILES} && ${MV} ${MS_DISTFILES} ${PORTNAME}-${MS_VERSION}/
|
||||
@(${DIFF} -u ${WRKSRC}/${PORTNAME}.c ${MS_WRKSRC}/${PORTNAME}-${MS_VERSION}/${PORTNAME}.c > ${MS_DIFF}) || ${TRUE}
|
||||
@if [ -s ${MS_DIFF} ]; then \
|
||||
cd ${MS_WRKSRC}/ && ${TAR} -Jcf ${PORTNAME}-${MS_VERSION}.tar.xz ${PORTNAME}-${MS_VERSION}/; \
|
||||
sudo ${INSTALL} -m 644 ${MS_WRKSRC}/${PORTNAME}-${MS_VERSION}.tar.xz ${DISTDIR}/; \
|
||||
${SED} -i '' -e '/^PORTVERSION=/ s|${PORTVERSION}|'${MS_VERSION}'|; /^PORTREVISION=/d' ${.CURDIR}/Makefile; \
|
||||
|
|
Loading…
Add table
Reference in a new issue