d0e804caf5
globs to ensure NetBSD 10 is not incorrectly matched when it is released.
33 lines
935 B
Makefile
33 lines
935 B
Makefile
# $NetBSD: Makefile,v 1.20 2015/09/08 11:57:49 jperkin Exp $
|
|
|
|
DISTNAME= Level9_5.1_Source
|
|
PKGNAME= level9-5.1
|
|
PKGREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.ifarchive.org/if-archive/level9/interpreters/level9/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.ifarchive.org/if-archive/level9/interpreters/level9/
|
|
COMMENT= Curses port of the Level 9 text adventure interpreter
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
WRKSRC= ${WRKDIR}/Unix
|
|
|
|
INSTALLATION_DIRS= bin share/doc/level9
|
|
|
|
LDADD+= ${BUILDLINK_LDADD.termcap}
|
|
LDADD+= ${BUILDLINK_LDADD.curses}
|
|
MAKE_ENV+= LDADD=${LDADD:Q}
|
|
|
|
post-extract:
|
|
${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/level9 ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKDIR}/level9.txt \
|
|
${DESTDIR}${PREFIX}/share/doc/level9
|
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
|
.include "../../mk/termcap.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|