diff options
author | wiz <wiz> | 2006-02-04 11:59:35 +0000 |
---|---|---|
committer | wiz <wiz> | 2006-02-04 11:59:35 +0000 |
commit | 25302b9b75968ca6d56f636377f217c94f9e7937 (patch) | |
tree | f12ce01196bcd97d78ce9dbe4409142b13afbb50 /sysutils | |
parent | a54c2b33965f566affd3d732d52b633466f58592 (diff) | |
download | pkgsrc-25302b9b75968ca6d56f636377f217c94f9e7937.tar.gz |
Quiet pkglint, sync with cdrtools-ossdvd.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/cdrtools/Makefile | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/sysutils/cdrtools/Makefile b/sysutils/cdrtools/Makefile index c18689296cd..60eba51efca 100644 --- a/sysutils/cdrtools/Makefile +++ b/sysutils/cdrtools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2006/01/25 16:03:00 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2006/02/04 11:59:35 wiz Exp $ DISTNAME= cdrtools-2.01 PKGREVISION= 1 @@ -18,6 +18,10 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews USE_TOOLS+= gmake tbl +.if ${LOCALBASE} != "/opt/schily" +BUILDLINK_TRANSFORM+= rmdir:/opt/schily +.endif + # avoid picking up a bad ${ARCH} during the build MAKE_ENV+= ARCH="" MAKE_ENV+= MAKEPROG="gmake" @@ -37,8 +41,8 @@ CDRECORD_CONF?= ${PKG_SYSCONFDIR}/cdrecord.conf .if ${CDRECORD_CONF} != "/etc/default/cdrecord" MESSAGE_SRC+= MESSAGE.cdrecord.conf -MESSAGE_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV} -MESSAGE_SUBST+= CDRECORD_CONF=${CDRECORD_CONF} +MESSAGE_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV:Q} +MESSAGE_SUBST+= CDRECORD_CONF=${CDRECORD_CONF:Q} .endif INSTALLATION_DIRS= bin man/man1 man/man8 @@ -48,7 +52,7 @@ SUBST_STAGE.fix= post-patch SUBST_FILES.fix= cdrecord/defaults.c cdrecord/cdrecord.1 \ readcd/readcd.1 SUBST_SED.fix= -e "s,@CDRECORD_CONF@,${CDRECORD_CONF},g" -SUBST_MESSAGE.fix= "Fixing paths." +SUBST_MESSAGE.fix= Fixing paths. post-extract: ${CP} ${WRKSRC}/RULES/os-freebsd.id ${WRKSRC}/RULES/os-dragonfly.id @@ -63,29 +67,29 @@ do-configure: post-build: cd ${WRKSRC}; \ - for file in cdda2wav/cdda2wav.1 mkisofs/mkisofs.8; do \ - ${TBL} $${file} > $${file}.tmp; \ - ${MV} -f $${file}.tmp $${file}; \ + for manpage in cdda2wav/cdda2wav.1 mkisofs/mkisofs.8; do \ + ${TBL} $${manpage} > $${manpage}.tmp; \ + ${MV} -f $${manpage}.tmp $${manpage}; \ done do-install: cd ${WRKSRC}/cdda2wav; \ ${INSTALL_PROGRAM} OBJ/*/cdda2wav ${PREFIX}/bin; \ - ${INSTALL_MAN} cdda2wav.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} cdda2wav.1 ${PREFIX}/${PKGMANDIR}/man1 cd ${WRKSRC}/cdrecord; \ ${INSTALL_PROGRAM} OBJ/*/cdrecord ${PREFIX}/bin; \ - ${INSTALL_MAN} cdrecord.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} cdrecord.1 ${PREFIX}/${PKGMANDIR}/man1 cd ${WRKSRC}/mkisofs; \ ${INSTALL_PROGRAM} OBJ/*/mkisofs ${PREFIX}/bin; \ - ${INSTALL_MAN} mkisofs.8 ${PREFIX}/man/man8 + ${INSTALL_MAN} mkisofs.8 ${PREFIX}/${PKGMANDIR}/man8 cd ${WRKSRC}/mkisofs/diag; \ for f in devdump isodump isoinfo isovfy; do \ ${INSTALL_PROGRAM} OBJ/*/$$f ${PREFIX}/bin; \ - ${INSTALL_MAN} isoinfo.8 ${PREFIX}/man/man8/$$f.8; \ + ${INSTALL_MAN} isoinfo.8 ${PREFIX}/${PKGMANDIR}/man8/$$f.8; \ done cd ${WRKSRC}/readcd; \ ${INSTALL_PROGRAM} OBJ/*/readcd ${PREFIX}/bin; \ - ${INSTALL_MAN} readcd.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} readcd.1 ${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/ossaudio.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |