1
0
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:
Erwin Lansing 2006-08-12 13:09:23 +00:00
parent a13e4dac29
commit 47dce6d3af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170408

View File

@ -7,6 +7,7 @@
PORTNAME= mtf PORTNAME= mtf
PORTVERSION= 0.2.1 PORTVERSION= 0.2.1
PORTREVISION= 1
CATEGORIES= archivers CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_SUNSITE} MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= system/backup 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 COMMENT= A Unix reader for the Microsoft Tape Format used by NT Backup
ALL_TARGET= # empty ALL_TARGET= # empty
MAKE_ARGS= CFLAGS="${CFLAGS}"
PLIST_FILES= bin/mtf PLIST_FILES= bin/mtf
.if !defined(NOPORTDOCS)
PORTDOCS= README PORTDOCS= README
.endif
post-patch:
@${REINPLACE_CMD} -e "s|CC=|CC?=|" \
-e "s|CFLAGS=|CFLAGS?=|" \
${WRKSRC}/Makefile
do-install: do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mtf ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/mtf ${TARGETDIR}/bin
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR} @${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}