View | Details | Raw Unified | Return to bug 39432
Collapse All | Expand All

(-)games/an/Makefile (-3 / +10 lines)
Lines 7-24 Link Here
7
7
8
PORTNAME=	an
8
PORTNAME=	an
9
PORTVERSION=	0.93
9
PORTVERSION=	0.93
10
PORTREVISION=	1
10
CATEGORIES=	games
11
CATEGORIES=	games
11
MASTER_SITES=	ftp://suburbia.net/pub/rmj/ \
12
MASTER_SITES=	ftp://suburbia.net/pub/rmj/ \
12
		ftp://ftp.suburbia.net/pub/rmj/
13
		ftp://ftp.suburbia.net/pub/rmj/
13
14
14
MAINTAINER=	ports@FreeBSD.Org
15
MAINTAINER=	ports@FreeBSD.org
15
16
16
MAKE_ENV+=	DEFS=-DDEFDICT=\\\"/usr/share/dict/words\\\"
17
MAKE_ENV+=	DEFS=-DDEFDICT=\\\"/usr/share/dict/words\\\"
17
ALL_TARGET=	with-getopt
18
ALL_TARGET=	with-getopt
18
MAN6=		an.6
19
MAN6=		an.6
19
20
21
post-patch:
22
	@${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \
23
		's|^CC=|CC?=|g ; \
24
		 s|^CFLAGS=-O|CFLAGS+=|g ; \
25
		 s| make| \$$\(MAKE\)|g' ${WRKSRC}/Makefile
26
20
do-install:
27
do-install:
21
		${INSTALL_PROGRAM} ${WRKSRC}/an ${PREFIX}/bin
28
	${INSTALL_PROGRAM} ${WRKSRC}/an ${PREFIX}/bin
22
		${INSTALL_MAN} ${WRKSRC}/an.6 ${MANPREFIX}/man/man6
29
	${INSTALL_MAN} ${WRKSRC}/an.6 ${MANPREFIX}/man/man6
23
30
24
.include <bsd.port.mk>
31
.include <bsd.port.mk>

Return to bug 39432