diff --git a/audio/dcd/Makefile b/audio/dcd/Makefile index fd122b3f7813..dc96d47f0466 100644 --- a/audio/dcd/Makefile +++ b/audio/dcd/Makefile @@ -16,8 +16,6 @@ LIB_DEPENDS= libcdaudio.so:${PORTSDIR}/audio/libcdaudio USES= gmake -MAKE_ENV+= STAGEDIR=${STAGEDIR} - PLIST_FILES= bin/dcd \ man/man1/dcd.1.gz diff --git a/audio/dcd/files/patch-Makefile b/audio/dcd/files/patch-Makefile index 2a08fb39dcb4..9f526fcecc21 100644 --- a/audio/dcd/files/patch-Makefile +++ b/audio/dcd/files/patch-Makefile @@ -52,10 +52,10 @@ - install -m 755 -d ${PREFIX}/man/man1 - install -m 644 dcd.1 ${PREFIX}/man/man1 - install -m 755 -d ${HOME}/${CDI} -+ install -m 755 -d ${STAGEDIR}${PREFIX}/bin -+ install -m 755 -s dcd ${STAGEDIR}${PREFIX}/bin -+ install -m 755 -d ${STAGEDIR}${PREFIX}/man/man1 -+ install -m 644 dcd.1 ${STAGEDIR}${PREFIX}/man/man1 ++ install -m 755 -d ${DESTDIR}${PREFIX}/bin ++ install -m 755 -s dcd ${DESTDIR}${PREFIX}/bin ++ install -m 755 -d ${DESTDIR}${PREFIX}/man/man1 ++ install -m 644 dcd.1 ${DESTDIR}${PREFIX}/man/man1 depend: makedepend -- ${CFLAGS} ${EXTRA_CFLAGS} -- ${SRCS}