diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2006-08-12 13:09:23 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2006-08-12 13:09:23 +0000 |
commit | 47dce6d3af994c0ed131ba38cd4aea3968d7f280 (patch) | |
tree | ef917b8adabcd47488be561298a9f07c541ebda6 /archivers/mtf | |
parent | Respect DESTDIR (diff) |
- Respect DESTDIR
- Respect CC
- Remove an unnecessary .if
- Bump PORTREVISION
PR: 101806
Submitted by: gabor
Notes
Notes:
svn path=/head/; revision=170408
Diffstat (limited to 'archivers/mtf')
-rw-r--r-- | archivers/mtf/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/archivers/mtf/Makefile b/archivers/mtf/Makefile index 0667492350e0..f3dc865762cc 100644 --- a/archivers/mtf/Makefile +++ b/archivers/mtf/Makefile @@ -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} |