- 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/
Responsible Changed From-To: freebsd-ports-bugs->rene Take
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"
State Changed From-To: open->closed Committed, thanks