mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
- Convert to optionsNG
- Pass maintainership to submitter PR: ports/173188 Submitted by: nemysis@gmx.ch
This commit is contained in:
parent
60aa7dc67d
commit
16c8d48b04
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318548
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user