diff options
author | rene <rene@FreeBSD.org> | 2013-05-20 04:34:30 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2013-05-20 04:34:30 +0800 |
commit | 024cca220e4cf00718c9a5350e8587657351bd38 (patch) | |
tree | ee9086af5540e17efc75c11af1441362a1e3e4d8 /games | |
parent | 00d120917bc84726fbb545db95a8a48fdb8b8fdc (diff) | |
download | freebsd-ports-gnome-024cca220e4cf00718c9a5350e8587657351bd38.tar.gz freebsd-ports-gnome-024cca220e4cf00718c9a5350e8587657351bd38.tar.zst freebsd-ports-gnome-024cca220e4cf00718c9a5350e8587657351bd38.zip |
- Convert to optionsNG
- Pass maintainership to submitter
PR: ports/173188
Submitted by: nemysis@gmx.ch
Diffstat (limited to 'games')
-rw-r--r-- | games/wordplay/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/games/wordplay/Makefile b/games/wordplay/Makefile index f74ee4293147..f1564d466357 100644 --- a/games/wordplay/Makefile +++ b/games/wordplay/Makefile @@ -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/static_subpages/personal_orig/wordplay/ 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> |