37 lines
841 B
Makefile
37 lines
841 B
Makefile
# $OpenBSD: Makefile,v 1.13 2010/10/18 18:00:18 espie Exp $
|
|
# $NetBSD: Makefile,v 1.2 2000/01/15 18:46:28 jlam Exp $
|
|
# Original from: Stefan Jokisch
|
|
|
|
COMMENT= Curses-based interpreter for Infocom-compatible games
|
|
|
|
DISTNAME= frotz-2.43
|
|
PKGNAME= ${DISTNAME}p1
|
|
CATEGORIES= games
|
|
|
|
HOMEPAGE= http://frotz.sourceforget.net/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c curses
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=frotz/}
|
|
|
|
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}" CONFIG_DIR="${SYSCONFDIR}"
|
|
|
|
ALL_TARGET= frotz
|
|
|
|
CFLAGS+= -DUSE_UNISTD_H -DCOLOR_SUPPORT -DEMACS_EDITING
|
|
|
|
USE_GROFF = Yes
|
|
NO_REGRESS= Yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/frotz ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKBUILD}/doc/frotz.6 ${PREFIX}/man/man6
|
|
|
|
.include <bsd.port.mk>
|