- Respect DESTDIR.

PR:		ports/101783
Submitted by:	Gabor Kovesdan <gabor@FreeBSD.org>
This commit is contained in:
Jean Milanez Melo 2006-08-14 12:33:28 +00:00
parent d989ed6e34
commit 90237f89a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170581

View File

@ -14,8 +14,8 @@ MASTER_SITES= http://custom.lab.unb.br/pub/compression/bzip/ \
MAINTAINER= jmelo@FreeBSD.org
COMMENT= A block-sorting file compressor
DEPRECATED= "see full description"
RESTRICTED= "may be covered by patents"
DEPRECATED= see full description
RESTRICTED= may be covered by patents
MAN1= bzip.1 bunzip.1
PLIST_FILES= bin/bzip bin/bunzip
@ -24,10 +24,10 @@ pre-install:
@${CAT} ${FILESDIR}/COPYRIGHT
do-install:
${RM} -f ${PREFIX}/bin/bzip ${PREFIX}/bin/bunzip
${INSTALL_PROGRAM} ${WRKSRC}/bzip ${PREFIX}/bin/bzip
${LN} -fs ${PREFIX}/bin/bzip ${PREFIX}/bin/bunzip
${INSTALL_MAN} ${WRKSRC}/bzip.1 ${PREFIX}/man/man1/bzip.1
${INSTALL_MAN} ${WRKSRC}/bzip.1 ${PREFIX}/man/man1/bunzip.1
${RM} -f ${PREFIX}/bin/bzip ${TARGETDIR}/bin/bunzip
${INSTALL_PROGRAM} ${WRKSRC}/bzip ${TARGETDIR}/bin/bzip
${LN} -fs ${TARGETDIR}/bin/bzip ${TARGETDIR}/bin/bunzip
${INSTALL_MAN} ${WRKSRC}/bzip.1 ${MAN1PREFIX}/man/man1/bzip.1
${INSTALL_MAN} ${WRKSRC}/bzip.1 ${MAN1PREFIX}/man/man1/bunzip.1
.include <bsd.port.mk>