1997-03-04 11:30:13 +01:00
|
|
|
# New ports collection makefile for: an
|
|
|
|
# Date created: 28 Feb 1997
|
|
|
|
# Whom: proff
|
|
|
|
#
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1997-03-04 11:30:13 +01:00
|
|
|
#
|
|
|
|
|
2000-04-14 02:45:49 +02:00
|
|
|
PORTNAME= an
|
2003-02-13 16:16:28 +01:00
|
|
|
PORTVERSION= 0.95
|
2003-08-17 21:07:20 +02:00
|
|
|
PORTREVISION= 1
|
1997-03-04 11:30:13 +01:00
|
|
|
CATEGORIES= games
|
2003-08-04 12:47:28 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
|
2003-02-13 16:16:28 +01:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
1997-03-04 11:30:13 +01:00
|
|
|
|
2002-06-17 22:42:03 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-13 16:16:28 +01:00
|
|
|
COMMENT= Fast anagram generator
|
1997-03-04 11:30:13 +01:00
|
|
|
|
2003-02-13 16:16:28 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2003-08-17 21:07:20 +02:00
|
|
|
|
|
|
|
USE_GETOPT_LONG= yes
|
2002-06-19 10:18:10 +02:00
|
|
|
USE_REINPLACE= yes
|
1997-03-04 11:30:13 +01:00
|
|
|
MAN6= an.6
|
|
|
|
|
2002-06-17 22:42:03 +02:00
|
|
|
post-patch:
|
2003-02-13 16:16:28 +01:00
|
|
|
@${REINPLACE_CMD} -e '/<stdint.h>/d' ${WRKSRC}/an.c
|
2002-06-17 22:42:03 +02:00
|
|
|
|
2003-08-17 21:07:20 +02:00
|
|
|
do-build:
|
|
|
|
cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} an.c gan_qsort.c \
|
|
|
|
-o ${PORTNAME} ${LDFLAGS}
|
|
|
|
|
1997-03-04 11:30:13 +01:00
|
|
|
do-install:
|
2002-06-17 22:42:03 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/an ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/an.6 ${MANPREFIX}/man/man6
|
1997-03-04 11:30:13 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|