Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2013 19:49:47 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r321417 - head/comms/yaps
Message-ID:  <201306201949.r5KJnlmE051705@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bsam
Date: Thu Jun 20 19:49:47 2013
New Revision: 321417
URL: http://svnweb.freebsd.org/changeset/ports/321417

Log:
  . add license (GPLv2);
  . bump PORTREVISION;
  . use PLIST_FILES and PORTDOCS;
  . remove pkg-plist (7 lines);
  . NOPORTDOCS -> PORT_OPTIONS:MDOCS;
  . ${PREFIX}/share/doc/yaps -> ${DOCSDIR};
  . use one line install command for two files;
  . trim Makefile headers.

Deleted:
  head/comms/yaps/pkg-plist
Modified:
  head/comms/yaps/Makefile

Modified: head/comms/yaps/Makefile
==============================================================================
--- head/comms/yaps/Makefile	Thu Jun 20 19:36:26 2013	(r321416)
+++ head/comms/yaps/Makefile	Thu Jun 20 19:49:47 2013	(r321417)
@@ -1,13 +1,9 @@
-# New ports collection makefile for:    yaps
-# Date created:         Di  29 Sep 1998 15:51:27 CEST
-# Whom:                 se
-#
+# Created by: se
 # $FreeBSD$
-#
 
 PORTNAME=	yaps
 PORTVERSION=	0.96
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	comms
 MASTER_SITES=	${MASTER_SITE_SUNSITE}
 MASTER_SITE_SUBDIR=	apps/serialcomm/machines
@@ -15,17 +11,24 @@ MASTER_SITE_SUBDIR=	apps/serialcomm/mach
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Yet Another Pager Software: send messages to pager (SMS, TAP, ...)
 
+LICENSE=	GPLv2
+
 USE_GMAKE=	true
 
 MAN1=		yaps.1
+PLIST_FILES=	bin/yaps etc/yaps.rc.sample
+PORTDOCS=	yaps.doc yaps.html
+
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/yaps.rc ${PREFIX}/etc/yaps.rc.sample
 	${INSTALL_MAN} ${WRKSRC}/yaps.1 ${PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${PREFIX}/share/doc/yaps
-	${INSTALL_DATA} ${WRKSRC}/yaps.doc ${PREFIX}/share/doc/yaps
-	${INSTALL_DATA} ${WRKSRC}/yaps.html ${PREFIX}/share/doc/yaps
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/yaps.doc ${WRKSRC}/yaps.html ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>



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