openbsd-ports/games/an/Makefile

38 lines
775 B
Makefile
Raw Normal View History

2010-10-18 14:00:15 -04:00
# $OpenBSD: Makefile,v 1.16 2010/10/18 18:00:17 espie Exp $
COMMENT= fast anagram generator
1998-07-12 00:42:27 -04:00
V= 0.95
DISTNAME= an_${V}.orig
PKGNAME= an-${V}
1998-07-12 00:42:27 -04:00
CATEGORIES= games
MASTER_SITES= ftp://ftp.fr.debian.org/debian/pool/main/a/an/ \
ftp://ftp.debian.org/debian/pool/main/a/an/
1998-07-12 00:42:27 -04:00
# GPL - LGPL
2000-04-03 23:32:55 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-12 03:02:07 -05:00
WANTLIB= c
WRKDIST= ${WRKDIR}/an-${V}
1998-07-12 00:42:27 -04:00
2010-10-18 14:00:15 -04:00
USE_GROFF = Yes
2002-10-26 16:44:38 -04:00
NO_REGRESS= Yes
pre-configure:
@perl -pi -e 's,/usr/dict/words,/usr/share/dict/words,g' \
${WRKSRC}/an.6
do-build:
cd ${WRKBUILD} && \
${CC} ${CFLAGS} an.c gan_qsort.c -o an ${LDFLAGS}
1998-07-12 00:42:27 -04:00
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/an ${PREFIX}/bin
${INSTALL_MAN} ${WRKBUILD}/an.6 ${PREFIX}/man/man6
1998-07-12 00:42:27 -04:00
.include <bsd.port.mk>