1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/games/an/Makefile

33 lines
706 B
Makefile
Raw Normal View History

# New ports collection makefile for: an
# Date created: 28 Feb 1997
# Whom: proff
#
1999-08-25 06:06:33 +00:00
# $FreeBSD$
#
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
2002-06-19 08:18:10 +00:00
USE_REINPLACE= yes
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
.include <bsd.port.mk>