blob: 8295a3105297c74342bd90b26f1e85d44034165a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.7 2019/11/03 19:04:06 rillig Exp $
#
DISTNAME= rcfunge2
PKGNAME= rcfunge-2.02
PKGREVISION= 2
DIST_SUBDIR= rcfunge-2.02
CATEGORIES= lang
MASTER_SITES= http://www.rcfunge98.com/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.rcfunge98.com/
COMMENT= Funge interpreter
#LICENSE= # TODO: (see mk/license.mk)
WRKSRC= ${WRKDIR}/rcfunge
BUILD_TARGET= funge
INSTALLATION_DIRS= bin
CFLAGS.SunOS+= -Du_int32_t=uint32_t
LDFLAGS.SunOS+= -lsocket -lnsl
# keypad(3) return value was fixed after -5 branch (might be pulled up)
INCOMPAT_CURSES+= NetBSD-[0-4]*-* NetBSD-5.[0-8]*-*
FAKE_NCURSES= yes # tries to link to ncurses directly
pre-build:
${MKDIR} ${WRKSRC}/bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/funge ${DESTDIR}${PREFIX}/bin
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|