1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Correct dmd1.conf filename.

This commit is contained in:
Cy Schubert 2014-06-01 21:46:06 +00:00
parent 9bab3f8725
commit f41e4b369c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356179

View File

@ -3,6 +3,7 @@
PORTNAME= dmd
PORTVERSION= 1.076
PORTREVISION= 1
PKGNAMESUFFIX= 1
CATEGORIES= lang
MASTER_SITES= http://ftp.digitalmars.com/
@ -52,7 +53,7 @@ post-patch:
${WRKDIR}/dmd/man/man1/dmd.1 \
${WRKDIR}/dmd/man/man1/dmd.conf.5
@${REINPLACE_CMD} -e 's|"/etc/"|"${PREFIX}/etc/"|' ${WRKSRC}/inifile.c
@${REINPLACE_CMD} -e 's|dmd.conf|dmd2.conf|' ${WRKSRC}/mars.c
@${REINPLACE_CMD} -e 's|dmd.conf|dmd1.conf|' ${WRKSRC}/mars.c
.endif
@${REINPLACE_CMD} -e "s|%@P%/../../src/phobos|${MODULEDIR}|" ${WRKDIR}/dmd/freebsd/bin32/dmd.conf
@${CP} ${WRKDIR}/dmd/freebsd/bin32/dmd.conf ${WRKDIR}/dmd/freebsd/bin32/dmd.conf.tango