forked from Lainports/freebsd-ports
Use SUB_FILES instead of post-patch commands.
PR: ports/97225 Submitted by: Ports Fury
This commit is contained in:
parent
1dcf9c0648
commit
9ab16a577e
2 changed files with 2 additions and 4 deletions
|
|
@ -35,7 +35,7 @@ MKISOFSDOCS= README README.compression README.eltorito README.graft_dirs \
|
|||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
#CFLAGS+= -DSOURCE_MODIFIED
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
.if defined(WITH_RSCSI)
|
||||
PKGINSTALL= ${PKGDIR}/pkg-install.rscsi
|
||||
|
|
@ -104,8 +104,6 @@ post-patch:
|
|||
# @${REINPLACE_CMD} -E -e \
|
||||
# 's|#define.+INSERT_YOUR_EMAIL_ADDRESS_HERE|& "${MAINTAINER}"|' \
|
||||
# ${WRKSRC}/cdrecord/cdrecord.c
|
||||
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message > \
|
||||
${WRKDIR}/pkg-message
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/cdda2wav/OBJ/${CDRTLSTARGET}/cdda2wav \
|
||||
|
|
@ -164,6 +162,6 @@ do-install:
|
|||
post-install:
|
||||
-@if [ -f ${PKGINSTALL} ]; then ${SETENV} PKG_PREFIX=${PREFIX} \
|
||||
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL; fi
|
||||
@${CAT} ${WRKDIR}/pkg-message
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue