Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2002 13:20:51 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/39432: Update port: games/an
Message-ID:  <200206172020.g5HKKp78060852@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         39432
>Category:       ports
>Synopsis:       Update port: games/an
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 17 13:30:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CC/CFLAGS/MAKE properly

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/games/an/Makefile games/an/Makefile
--- /usr/ports/games/an/Makefile	Sat Jun  8 08:40:51 2002
+++ games/an/Makefile	Tue Jun 18 04:55:48 2002
@@ -7,18 +7,25 @@
 
 PORTNAME=	an
 PORTVERSION=	0.93
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	ftp://suburbia.net/pub/rmj/ \
 		ftp://ftp.suburbia.net/pub/rmj/
 
-MAINTAINER=	ports@FreeBSD.Org
+MAINTAINER=	ports@FreeBSD.org
 
 MAKE_ENV+=	DEFS=-DDEFDICT=\\\"/usr/share/dict/words\\\"
 ALL_TARGET=	with-getopt
 MAN6=		an.6
 
+post-patch:
+	@${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \
+		's|^CC=|CC?=|g ; \
+		 s|^CFLAGS=-O|CFLAGS+=|g ; \
+		 s| make| \$$\(MAKE\)|g' ${WRKSRC}/Makefile
+
 do-install:
-		${INSTALL_PROGRAM} ${WRKSRC}/an ${PREFIX}/bin
-		${INSTALL_MAN} ${WRKSRC}/an.6 ${MANPREFIX}/man/man6
+	${INSTALL_PROGRAM} ${WRKSRC}/an ${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/an.6 ${MANPREFIX}/man/man6
 
 .include <bsd.port.mk>

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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