svn commit: r348300 - head/sysutils/afio
Alexey Dokuchaev
danfe at FreeBSD.org
Sat Mar 15 09:04:20 UTC 2014
Author: danfe
Date: Sat Mar 15 09:04:19 2014
New Revision: 348300
URL: http://svnweb.freebsd.org/changeset/ports/348300
QAT: https://qat.redports.org/buildarchive/r348300/
Log:
- Shrink MASTER_SITES, convert EXTRACT_SUFX to USES=tar:tgz, improve COMMENT
- Install portdocs and examples unconditionally since the port is staged now
- Convert pkg-plist into PLIST_FILES, PORTDOCS, and PORTEXAMPLES knobs
- Drop no-op (cf. files/patch-Makefile) `post-patch' target while I'm here
Deleted:
head/sysutils/afio/pkg-plist
Modified:
head/sysutils/afio/Makefile
Modified: head/sysutils/afio/Makefile
==============================================================================
--- head/sysutils/afio/Makefile Sat Mar 15 08:55:13 2014 (r348299)
+++ head/sysutils/afio/Makefile Sat Mar 15 09:04:19 2014 (r348300)
@@ -4,34 +4,28 @@
PORTNAME= afio
PORTVERSION= 2.5
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= system/backup
-EXTRACT_SUFX= .tgz
+MASTER_SITES= SUNSITE/system/backup
MAINTAINER= ports at FreeBSD.org
-COMMENT= Archiver & backup program w/ builtin compression
+COMMENT= Archiver and backup program with builtin compression
+
+USES= tar:tgz
ALL_TARGET= ${PORTNAME}
-OPTIONS_DEFINE= DOCS EXAMPLES
-post-patch:
- @${REINPLACE_CMD} -e 's|^CC=.*$$|CC=${CC}|' \
- ${WRKSRC}/Makefile
+PLIST_FILES= bin/afio man/man1/afio.1.gz
+PORTDOCS= HISTORY README SCRIPTS
+PORTEXAMPLES= *
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
-.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/README ${WRKSRC}/SCRIPTS ${STAGEDIR}${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${FILESDIR}/afiodump.example ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/script1/DONTDUMP ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/script2/* ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/script3/* ${STAGEDIR}${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/script4/* ${STAGEDIR}${EXAMPLESDIR}
-.endif
+ ${INSTALL_SCRIPT} ${FILESDIR}/afiodump.example \
+ ${WRKSRC}/script2/* ${WRKSRC}/script3/* \
+ ${WRKSRC}/script4/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list