Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Dec 2015 20:35:43 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403159 - in head/comms/bforce-kst: . files
Message-ID:  <201512062035.tB6KZhnR046736@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Dec  6 20:35:43 2015
New Revision: 403159
URL: https://svnweb.freebsd.org/changeset/ports/403159

Log:
  - Add LICENSE
  - Fix pkg-message handling
  - Switch to options helpers

Added:
  head/comms/bforce-kst/files/pkg-message.in
     - copied, changed from r403158, head/comms/bforce-kst/pkg-message
Deleted:
  head/comms/bforce-kst/pkg-message
Modified:
  head/comms/bforce-kst/Makefile

Modified: head/comms/bforce-kst/Makefile
==============================================================================
--- head/comms/bforce-kst/Makefile	Sun Dec  6 20:35:36 2015	(r403158)
+++ head/comms/bforce-kst/Makefile	Sun Dec  6 20:35:43 2015	(r403159)
@@ -12,6 +12,9 @@ DISTNAME=	${PORTNAME}-0.22.8.kst7
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Simple ifcico like Fidonet technology mailer
 
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/../COPYING
+
 USES=		gmake
 GNU_CONFIGURE=	yes
 
@@ -38,6 +41,8 @@ FIXME=		include/bforce.h include/util.h 
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/source
 
+SUB_FILES=	pkg-message
+
 DOCS=		CHANGES CHANGES.kst COPYING README README.kst
 
 OPTIONS_DEFINE=	DOCS
@@ -51,8 +56,6 @@ post-patch:
 	@${REINPLACE_CMD} -e 's,log(,bf_log(,g' ${WRKSRC}/${i}
 .endfor
 
-.include <bsd.port.options.mk>
-
 do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/fido/bforce
 	${INSTALL_DATA} ${WRKSRC}/../examples/bforce.conf ${STAGEDIR}${PREFIX}/etc/fido/bforce/bforce.conf.sample
@@ -65,12 +68,13 @@ do-install:
 .for i in ${CONTRIBS}
 	${INSTALL_DATA} ${WRKSRC}/../contrib/${i} ${STAGEDIR}${DATADIR}/${i}
 .endfor
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/../,} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/bforce ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/bfindex ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/bfstat ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/nlookup ${STAGEDIR}${PREFIX}/bin
-	@${SED} -e 's|%%PREFIX%%|${PREFIX}|' -e 's|%%CONFIGDIR%%|etc/fido/bforce|' ${PKGMESSAGE}
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/../,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Copied and modified: head/comms/bforce-kst/files/pkg-message.in (from r403158, head/comms/bforce-kst/pkg-message)
==============================================================================
--- head/comms/bforce-kst/pkg-message	Sun Dec  6 20:35:36 2015	(r403158, copy source)
+++ head/comms/bforce-kst/files/pkg-message.in	Sun Dec  6 20:35:43 2015	(r403159)
@@ -1,7 +1,7 @@
 **************************************************************
 
 Please don't forget to copy and edit configuration files found
-in %%PREFIX%%/%%CONFIGDIR%%.
+in %%PREFIX%%/etc/fido/bforce.
 
 If you using u-srif, please install lang/python
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512062035.tB6KZhnR046736>