svn commit: r409062 - head/textproc/bbe

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Feb 17 19:12:08 UTC 2016


Author: amdmi3
Date: Wed Feb 17 19:12:06 2016
New Revision: 409062
URL: https://svnweb.freebsd.org/changeset/ports/409062

Log:
  - Clarify LICENSE
  - Add LICENSE_FILE
  - Fix configure handling, install missing info file
  - Switch to options helpers

Modified:
  head/textproc/bbe/Makefile

Modified: head/textproc/bbe/Makefile
==============================================================================
--- head/textproc/bbe/Makefile	Wed Feb 17 18:57:44 2016	(r409061)
+++ head/textproc/bbe/Makefile	Wed Feb 17 19:12:06 2016	(r409062)
@@ -3,26 +3,29 @@
 
 PORTNAME=	bbe
 PORTVERSION=	0.2.2
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	SF/${PORTNAME}-/${PORTNAME}/${PORTVERSION}
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Sed-like editor for binary files
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-HAS_CONFIGURE=	yes
+GNU_CONFIGURE=	yes
+
+INFO=		${PORTNAME}
 
 PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
-DOCS=		AUTHORS ChangeLog README
-PORTDOCS=	bbe.html ${DOCS}
+PORTDOCS=	*
+
+OPTIONS_DEFINE=	DOCS
 
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/bbe.html ${STAGEDIR}${DOCSDIR}
-.for i in ${DOCS}
+.for i in AUTHORS ChangeLog README
 	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
 .endfor
 


More information about the svn-ports-all mailing list