svn commit: r319160 - head/sysutils/fusefs-afuse

Boris Samorodov bsam at FreeBSD.org
Mon May 27 07:20:21 UTC 2013


Author: bsam
Date: Mon May 27 07:20:21 2013
New Revision: 319160
URL: http://svnweb.freebsd.org/changeset/ports/319160

Log:
  . remove the indefinite article and reword COMMENT;
  . add LICENSE=GPLv2;
  . NOPORTDOCS -> PORT_OPTIONS:MDOCS;
  . remove some space lines.

Modified:
  head/sysutils/fusefs-afuse/Makefile

Modified: head/sysutils/fusefs-afuse/Makefile
==============================================================================
--- head/sysutils/fusefs-afuse/Makefile	Mon May 27 07:18:51 2013	(r319159)
+++ head/sysutils/fusefs-afuse/Makefile	Mon May 27 07:20:21 2013	(r319160)
@@ -8,31 +8,28 @@ MASTER_SITES=	SF
 PKGNAMEPREFIX=	fusefs-
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	An automounting file system implemented in user-space using FUSE
+COMMENT=	File system automounting implemented in user-space using FUSE
 
-MAKE_JOBS_SAFE=	yes
+LICENSE=	GPLv2
 
+USES=		fuse pkgconfig
+MAKE_JOBS_SAFE=	yes
 GNU_CONFIGURE=	yes
 
 PORTDOCS=	AUTHORS ChangeLog README
 PLIST_FILES=	bin/${PORTNAME}
-
-USES=		fuse pkgconfig
-
 MAN1=		afuse.1
+OPTIONS_DEFINE=	DOCS
 
-.if !defined(NOPORTDOCS)
-SUB_FILES=	pkg-message
-.endif
+.include <bsd.port.options.mk>
 
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-.for i in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
-.endfor
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
 	@${CAT} ${PKGMESSAGE}
+SUB_FILES=	pkg-message
 .endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list