aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2006-05-14 11:08:52 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2006-05-14 11:08:52 +0000
commit9ab16a577e19dc51afe9990eae0bf17f5ac0be21 (patch)
treecb7c71df0abf520770ee1fb4c1604c9cfcd3cba1 /sysutils
parent1dcf9c064879f948d59b3a88f3f681616730cf86 (diff)
downloadports-9ab16a577e19dc51afe9990eae0bf17f5ac0be21.tar.gz
ports-9ab16a577e19dc51afe9990eae0bf17f5ac0be21.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cdrtools/Makefile6
-rw-r--r--sysutils/cdrtools/files/pkg-message.in (renamed from sysutils/cdrtools/pkg-message)0
2 files changed, 2 insertions, 4 deletions
diff --git a/sysutils/cdrtools/Makefile b/sysutils/cdrtools/Makefile
index da5c736319bd..0ca77573c856 100644
--- a/sysutils/cdrtools/Makefile
+++ b/sysutils/cdrtools/Makefile
@@ -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>
diff --git a/sysutils/cdrtools/pkg-message b/sysutils/cdrtools/files/pkg-message.in
index 2e93701dd3dc..2e93701dd3dc 100644
--- a/sysutils/cdrtools/pkg-message
+++ b/sysutils/cdrtools/files/pkg-message.in