Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2014 16:06:01 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338555 - in head/comms: esmska gammu-devel kb linrad py-bulksms py-serial qico scmxx uird wsjt wspr yfklog
Message-ID:  <201401031606.s03G61xe028735@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Fri Jan  3 16:06:00 2014
New Revision: 338555
URL: http://svnweb.freebsd.org/changeset/ports/338555

Log:
  Convert comms to MDOCS and MEXAMPLES.
  
  Hold-out shame list: perl

Modified:
  head/comms/esmska/Makefile
  head/comms/gammu-devel/Makefile
  head/comms/kb/Makefile
  head/comms/linrad/Makefile
  head/comms/py-bulksms/Makefile
  head/comms/py-serial/Makefile
  head/comms/qico/Makefile
  head/comms/scmxx/Makefile
  head/comms/uird/Makefile
  head/comms/wsjt/Makefile
  head/comms/wspr/Makefile
  head/comms/yfklog/Makefile

Modified: head/comms/esmska/Makefile
==============================================================================
--- head/comms/esmska/Makefile	Fri Jan  3 16:00:53 2014	(r338554)
+++ head/comms/esmska/Makefile	Fri Jan  3 16:06:00 2014	(r338555)
@@ -22,6 +22,9 @@ SUB_FILES=	esmska
 PORTDOCS=	readme.txt
 
 NO_STAGE=	yes
+
+.include <bsd.port.options.mk>
+
 do-install:
 	@${MKDIR} ${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/esmska.jar ${DATADIR}/
@@ -32,7 +35,7 @@ do-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/esmska ${PREFIX}/bin/
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for i in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/

Modified: head/comms/gammu-devel/Makefile
==============================================================================
--- head/comms/gammu-devel/Makefile	Fri Jan  3 16:00:53 2014	(r338554)
+++ head/comms/gammu-devel/Makefile	Fri Jan  3 16:06:00 2014	(r338555)
@@ -27,7 +27,9 @@ USE_LDCONFIG=	yes
 
 PORTDOCS=	*
 
-.if defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
 CMAKE_ARGS+=	-DINSTALL_DOC=OFF -DINSTALL_PHP_EXAMPLES=OFF -DINSTALL_MEDIA=OFF
 .else
 MAN1=		gammu.1 gammu-config.1 jadmaker.1 gammu-smsd.1 gammu-smsd-inject.1 \

Modified: head/comms/kb/Makefile
==============================================================================
--- head/comms/kb/Makefile	Fri Jan  3 16:00:53 2014	(r338554)
+++ head/comms/kb/Makefile	Fri Jan  3 16:06:00 2014	(r338555)
@@ -27,6 +27,9 @@ DESKTOP_ENTRIES="KB" \
 		true
 
 NO_STAGE=	yes
+
+.include <bsd.port.options.mk>
+
 pre-configure:
 	@${CP}	${FILESDIR}/Makefile ${WRKSRC}
 .if !exists(/usr/include/dev/speaker/speaker.h)
@@ -47,7 +50,7 @@ do-install:
 	${MKDIR} ${PREFIX}/share/pixmaps/kb/icons
 	${INSTALL_DATA} ${FILESDIR}/kb-icon.png \
 		${PREFIX}/share/pixmaps/kb/icons/kb-icon.png
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA}	${FILESDIR}/README_TIPS ${DOCSDIR}
 	${INSTALL_DATA}	${WRKSRC}/kb_bsd/README_BSD ${DOCSDIR}

Modified: head/comms/linrad/Makefile
==============================================================================
--- head/comms/linrad/Makefile	Fri Jan  3 16:00:53 2014	(r338554)
+++ head/comms/linrad/Makefile	Fri Jan  3 16:06:00 2014	(r338555)
@@ -53,7 +53,7 @@ do-install:
 # Some day we may want the svga version as well.
 #	${INSTALL_PROGRAM} -m04555 ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}.svga
 	${INSTALL_PROGRAM} -m04555 ${WRKSRC}/x${PORTNAME} ${PREFIX}/bin/x${PORTNAME}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 .for f in ${LINRAD_DOCFILES}
 	@${INSTALL_DATA}  ${WRKSRC}/$f ${DOCSDIR}/$f

Modified: head/comms/py-bulksms/Makefile
==============================================================================
--- head/comms/py-bulksms/Makefile	Fri Jan  3 16:00:53 2014	(r338554)
+++ head/comms/py-bulksms/Makefile	Fri Jan  3 16:06:00 2014	(r338555)
@@ -18,8 +18,11 @@ PYDISTUTILS_PKGVERSION=	1.0
 WRKSRC=		${WRKDIR}/bulksms
 
 NO_STAGE=	yes
+
+.include <bsd.port.options.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	@${INSTALL_MAN} ${WRKSRC}/README.html ${DOCSDIR}
 .endif

Modified: head/comms/py-serial/Makefile
==============================================================================
--- head/comms/py-serial/Makefile	Fri Jan  3 16:00:53 2014	(r338554)
+++ head/comms/py-serial/Makefile	Fri Jan  3 16:06:00 2014	(r338555)
@@ -20,12 +20,15 @@ DOCSDIR=	${PREFIX}/share/doc/py-${PORTNA
 EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 
 NO_STAGE=	yes
+
+.include <bsd.port.options.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
 .endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
 .endif

Modified: head/comms/qico/Makefile
==============================================================================
--- head/comms/qico/Makefile	Fri Jan  3 16:00:53 2014	(r338554)
+++ head/comms/qico/Makefile	Fri Jan  3 16:06:00 2014	(r338555)
@@ -25,6 +25,9 @@ PLIST_SUB+=	WITH_QICO_MORDA="@comment "
 .endif
 
 NO_STAGE=	yes
+
+.include <bsd.port.options.mk>
+
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/qico.conf.sample ${PREFIX}/etc/
 	${INSTALL_PROGRAM} ${WRKSRC}/src/qico ${PREFIX}/libexec/
@@ -32,7 +35,7 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/qcc ${PREFIX}/bin/
 .endif
 
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${PREFIX}/share/doc/qico
 	${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/qico/FAQ.ru
 	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/qico/README.ru

Modified: head/comms/scmxx/Makefile
==============================================================================
--- head/comms/scmxx/Makefile	Fri Jan  3 16:00:53 2014	(r338554)
+++ head/comms/scmxx/Makefile	Fri Jan  3 16:06:00 2014	(r338555)
@@ -24,6 +24,9 @@ DOCS=		README docs/*.txt
 EXAMPLES=	sms.txt vCalendar.vcs vCard.vcf
 
 NO_STAGE=	yes
+
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${FIND} ${WRKSRC} -name 'Makefile*' | ${XARGS} \
 		${REINPLACE_CMD} -e "s|CFLAGS=|CFLAGS+=|g"
@@ -31,7 +34,7 @@ post-patch:
 post-install:
 	@${MKDIR} ${EXAMPLESDIR}
 	cd ${WRKSRC}/examples && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
-.if !defined(NOPORTDOCS)
+..if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
 .endif

Modified: head/comms/uird/Makefile
==============================================================================
--- head/comms/uird/Makefile	Fri Jan  3 16:00:53 2014	(r338554)
+++ head/comms/uird/Makefile	Fri Jan  3 16:06:00 2014	(r338555)
@@ -21,13 +21,16 @@ PLIST_FILES=	bin/uird
 PORTDOCS=	Documentation
 
 NO_STAGE=	yes
+
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|gcc|$${CC}\ $${CFLAGS}|; /strip/d' \
 		${WRKSRC}/Makefile
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/uird ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
 .endif

Modified: head/comms/wsjt/Makefile
==============================================================================
--- head/comms/wsjt/Makefile	Fri Jan  3 16:00:53 2014	(r338554)
+++ head/comms/wsjt/Makefile	Fri Jan  3 16:06:00 2014	(r338555)
@@ -62,7 +62,7 @@ do-fetch:
 .endif
 
 post-install:
-.if	!defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for d in ${WRKSRC}/WSJT_Quick_Reference.pdf  ${WRKSRC}/WSJT_Source_Code.txt \
 	${WRKSRC}/WSJT_User_600.pdf ${WRKSRC}/UpdateHistory.txt \

Modified: head/comms/wspr/Makefile
==============================================================================
--- head/comms/wspr/Makefile	Fri Jan  3 16:00:53 2014	(r338554)
+++ head/comms/wspr/Makefile	Fri Jan  3 16:06:00 2014	(r338555)
@@ -38,11 +38,13 @@ PLIST_SUB=	PYVER=${PYTHON_VERSION:S/pyth
 VERSION=	3.00
 
 NO_STAGE=	yes
+
+.include <bsd.port.pre.mk>
 post-configure:
 	cp ${FILESDIR}/wspr ${WRKSRC}
 
 post-install:
-.if	!defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 .for d in ${WRKSRC}/LICENSE.TXT ${WRKSRC}/WSPR_Announcement.TXT \
 	${WRKSRC}/WSPR0_Instructions.TXT ${WRKSRC}/WSPR_Quick_Start.TXT \
@@ -55,7 +57,6 @@ post-install:
 .endif
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.pre.mk>
 .if defined(BOOTSTRAP)
 SVN_REV!=	svn info http://svn.code.sf.net/p/wsjt/code/branches/wspr | ${GREP} Revision | cut -d' ' -f2
 .else

Modified: head/comms/yfklog/Makefile
==============================================================================
--- head/comms/yfklog/Makefile	Fri Jan  3 16:00:53 2014	(r338554)
+++ head/comms/yfklog/Makefile	Fri Jan  3 16:06:00 2014	(r338555)
@@ -26,6 +26,9 @@ NO_BUILD=	yes
 MAN1=		yfklog.1
 
 NO_STAGE=	yes
+
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' \
 	     ${WRKSRC}/yfk ${WRKSRC}/yfksubs.pl
@@ -42,7 +45,7 @@ do-install:
 	zweckform3421.lab zweckform3475.lab zweckform3657.lab config
 	@${INSTALL_DATA} ${WRKSRC}/$f ${DATADIR}
 .endfor
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${EXAMPLESDIR}/onlinelog
 .for 	f in README  search.php test.txt
 	@${INSTALL_DATA} ${WRKSRC}/onlinelog/$f ${EXAMPLESDIR}/onlinelog
@@ -52,7 +55,7 @@ do-install:
 	@${INSTALL_DATA} ${WRKSRC}/clubs/$f ${EXAMPLESDIR}/clubs
 .endfor
 .endif
-.if     !defined(NOPORTDOCS)
+.if 	${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for	f in AUTHORS CHANGELOG COPYING INSTALL MANUAL README RELEASENOTES
 	@${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}



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