blob: 48409e63f0332ec9d9d33ef9b7cf8f0632c5e7a7 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# $NetBSD: Makefile,v 1.10 2019/04/25 07:32:52 maya Exp $
DISTNAME= fs-uae-launcher-2.8.3
PKGREVISION= 1
CATEGORIES= emulators
MASTER_SITES= https://fs-uae.net/fs-uae/stable/${PKGVERSION_NOREV}/
MAINTAINER= adam@NetBSD.org
HOMEPAGE= https://fs-uae.net/
COMMENT= Graphical launcher for FS-UAE, the Amiga Emulator
LICENSE= gnu-gpl-v2
DEPENDS+= fs-uae>=${PKGVERSION_NOREV}:../../emulators/fs-uae
DEPENDS+= ${PYPKGPREFIX}-lhafile-[0-9]*:../../archivers/py-lhafile
DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
DEPENDS+= ${PYPKGPREFIX}-qt5>=5.4:../../x11/py-qt5
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-Cocoa>=3:../../devel/py-pyobjc-framework-Cocoa
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-Quartz>=3:../../devel/py-pyobjc-framework-Quartz
.endif
INSTALL_TARGET= install-data
USE_TOOLS+= gmake msgfmt
PYTHON_VERSIONS_ACCEPTED= 37 36 35 34 # import urllib.parse
PYSETUPINSTALLARGS= --install-lib=${PREFIX:Q}/share/fs-uae-launcher
PYSETUPINSTALLARGS+= --install-scripts=${PREFIX:Q}/share/fs-uae-launcher
REPLACE_PYTHON+= fs-uae-launcher
INSTALLATION_DIRS+= bin
SUBST_CLASSES+= prefix
SUBST_MESSAGE.prefix= Fixing installation prefix.
SUBST_STAGE.prefix= pre-configure
SUBST_FILES.prefix= Makefile
SUBST_FILES.prefix+= fs_uae_launcher/FSUAELauncher.py
SUBST_FILES.prefix+= game_center/gamecenterutil.py
SUBST_SED.prefix= -e 's,/usr/local,${PREFIX},'
post-install:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${INSTALL_MAKE_FLAGS} \
-f ${MAKE_FILE} ${INSTALL_TARGET}
cd ${DESTDIR}${PREFIX}/bin && ${RM} -f fs-uae-launcher && \
${LN} -s ../share/fs-uae-launcher/fs-uae-launcher fs-uae-launcher
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"
|