Bug 173188 - [PATCH] games/wordplay: Makefile changed, OptionsNG, take maintainership
Summary: [PATCH] games/wordplay: Makefile changed, OptionsNG, take maintainership
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rene Ladan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-29 10:40 UTC by nemysis
Modified: 2013-05-19 21:40 UTC (History)
1 user (show)

See Also:


Attachments
wordplay-7.22_1.patch (1.14 KB, patch)
2012-10-29 10:40 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2012-10-29 10:40:02 UTC
- Take maintainership

Makefile changed:

+.include <bsd.port.options.mk>
+	@${REINPLACE_CMD} -e 's|CC=gcc|CC?=g++|' ${WRKSRC}/makefile
+.if ${PORT_OPTIONS:MDOCS}

Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)

How-To-Repeat: 
portlint -A
looks fine.

port test: clean

Build log

https://redports.org/buildarchive/20121029094159-41149/
Comment 1 Rene Ladan freebsd_committer freebsd_triage 2013-05-19 21:17:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rene

Take
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-05-19 21:34:38 UTC
Author: rene
Date: Sun May 19 20:34:30 2013
New Revision: 318548
URL: http://svnweb.freebsd.org/changeset/ports/318548

Log:
  - Convert to optionsNG
  - Pass maintainership to submitter
  
  PR:		ports/173188
  Submitted by:	nemysis@gmx.ch

Modified:
  head/games/wordplay/Makefile   (contents, props changed)

Modified: head/games/wordplay/Makefile
==============================================================================
--- head/games/wordplay/Makefile	Sun May 19 19:59:31 2013	(r318547)
+++ head/games/wordplay/Makefile	Sun May 19 20:34:30 2013	(r318548)
@@ -1,7 +1,4 @@
-# New ports collection makefile for: wordplay
-# Date created:		24 Jun 2000
-# Whom:			Ben Smithurst <ben@scientia.demon.co.uk>
-#
+# Created by: Ben Smithurst <ben@scientia.demon.co.uk>
 # $FreeBSD$
 
 PORTNAME=	wordplay
@@ -12,16 +9,20 @@ MASTER_SITES=	http://hsvmovies.com/stati
 DISTNAME=	${PORTNAME}${PORTVERSION:S/.//}
 EXTRACT_SUFX=	.tar.Z
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Simple program to generate anagrams
 
 NO_WRKSUBDIR=	yes
 
 PORTDOCS=	readme
+
 PLIST_FILES=	bin/${PORTNAME} %%DATADIR%%/words721.txt
 PLIST_DIRS=	%%DATADIR%%
 
+.include <bsd.port.options.mk>
+
 post-patch:
+	@${REINPLACE_CMD} -e 's|CC=gcc|CC?=g++|' ${WRKSRC}/makefile
 	@${REINPLACE_CMD} -e 's|"words721.txt"|"${DATADIR}/words721.txt"| ; \
 		 s|<ctype.h>|<stdlib.h>|' ${WRKSRC}/wordplay.c
 
@@ -30,11 +31,11 @@ do-build:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	@${MKDIR} ${DATADIR}
+	${MKDIR} ${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/words721.txt ${DATADIR}
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/readme ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Rene Ladan freebsd_committer freebsd_triage 2013-05-19 21:34:40 UTC
State Changed
From-To: open->closed

Committed, thanks