2017-02-12 07:24:36 +01:00
|
|
|
# $NetBSD: Makefile,v 1.9 2017/02/12 06:25:17 ryoon Exp $
|
2014-03-10 09:38:25 +01:00
|
|
|
|
|
|
|
DISTNAME= free42
|
2014-05-18 23:20:33 +02:00
|
|
|
PKGNAME= ${DISTNAME}-1.4.78
|
2017-02-12 07:24:36 +01:00
|
|
|
PKGREVISION= 5
|
2014-03-10 09:38:25 +01:00
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
|
|
|
CATEGORIES= emulators
|
|
|
|
MASTER_SITES= http://thomasokken.com/free42/download/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://thomasokken.com/free42/
|
|
|
|
COMMENT= HP42S Calculator Simulator
|
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
|
|
|
#WRKSRC= ${WRKDIR}/free42/gtk/
|
2014-04-17 22:18:49 +02:00
|
|
|
USE_TOOLS+= gmake pkg-config
|
2014-03-10 09:38:25 +01:00
|
|
|
USE_LANGUAGES+= c++
|
|
|
|
BUILD_DIRS= gtk
|
|
|
|
|
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
BUILD_TARGET= free42${VARIANT}
|
|
|
|
|
2016-02-25 13:50:49 +01:00
|
|
|
CXXFLAGS.NetBSD+= -DNO_SINCOS
|
|
|
|
MAKE_ENV.Linux+= AUDIO_ALSA=1
|
2014-03-10 09:38:25 +01:00
|
|
|
|
|
|
|
INSTALLATION_DIRS+= bin
|
|
|
|
INSTALLATION_DIRS+= share/doc/free42
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${BUILD_DIRS}/${BUILD_TARGET} \
|
|
|
|
${DESTDIR}/${PREFIX}/bin/free42
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README \
|
|
|
|
${DESTDIR}/${PREFIX}/share/doc/free42
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${BUILD_DIRS}/README \
|
|
|
|
${DESTDIR}/${PREFIX}/share/doc/free42/README.gtk
|
|
|
|
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|