openbsd-ports/games/an/Makefile
ajacoutot 1b6c7b2fcd - update to 0.95
- fix MASTER_SITES
- add license marker
2007-12-04 10:04:53 +00:00

37 lines
763 B
Makefile

# $OpenBSD: Makefile,v 1.15 2007/12/04 10:04:53 ajacoutot Exp $
COMMENT= fast anagram generator
V= 0.95
DISTNAME= an_${V}.orig
PKGNAME= an-${V}
CATEGORIES= games
MASTER_SITES= ftp://ftp.fr.debian.org/debian/pool/main/a/an/ \
ftp://ftp.debian.org/debian/pool/main/a/an/
# GPL - LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
WRKDIST= ${WRKDIR}/an-${V}
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}
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/an ${PREFIX}/bin
${INSTALL_MAN} ${WRKBUILD}/an.6 ${PREFIX}/man/man6
.include <bsd.port.mk>