1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Use USE_DOS2UNIX

PR:             106106
Submitted by:   Alexander Logvinov (maintainer)
This commit is contained in:
Martin Wilke 2006-12-01 07:47:54 +00:00
parent b1f7add58e
commit 7941ad569b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178436

View File

@ -17,12 +17,10 @@ COMMENT= Proxy for UDP protocols
USE_ZIP= yes
NO_WRKSUBDIR= yes
USE_RC_SUBR= ${PORTNAME}
USE_DOS2UNIX= ${DISTNAME}.c
PORTDOCS= index.html
PLIST_FILES= sbin/${PORTNAME}
pre-patch:
@${CAT} ${WRKSRC}/${DISTNAME}.c | ${SED} "s/`printf '\r'`//" > ${WRKSRC}/${DISTNAME}.c
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o t${PORTNAME} ${DISTNAME}.c)