mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Respect DESTDIR
- Respect CC - Remove an unnecessary .if - Bump PORTREVISION PR: 101806 Submitted by: gabor
This commit is contained in:
parent
a13e4dac29
commit
47dce6d3af
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170408
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= mtf
|
||||
PORTVERSION= 0.2.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
||||
MASTER_SITE_SUBDIR= system/backup
|
||||
@ -16,16 +17,16 @@ MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A Unix reader for the Microsoft Tape Format used by NT Backup
|
||||
|
||||
ALL_TARGET= # empty
|
||||
MAKE_ARGS= CFLAGS="${CFLAGS}"
|
||||
|
||||
PLIST_FILES= bin/mtf
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= README
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|CC=|CC?=|" \
|
||||
-e "s|CFLAGS=|CFLAGS?=|" \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/mtf ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/mtf ${TARGETDIR}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user