diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-17 20:42:03 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-17 20:42:03 +0000 |
commit | 385461e88cd1e100e19b196b691c7a65ccad77c6 (patch) | |
tree | 0c1a04bfb15b50982048697b98bca34b08640dc1 /games/an/Makefile | |
parent | GNU_CONFIGURE -> USE_LIBTOOL (diff) |
Support CC/CFLAGS/MAKE properly
PR: 39432
Submitted by: Ports Fury
Diffstat (limited to 'games/an/Makefile')
-rw-r--r-- | games/an/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/games/an/Makefile b/games/an/Makefile index d05a9cc8d4d5..89c086cd6f5d 100644 --- a/games/an/Makefile +++ b/games/an/Makefile @@ -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> |