1 # $NetBSD: Makefile,v 1.15 2012/10/08 23:01:14 adam Exp $
4 DISTNAME
= sfxr-sdl-1.2
.1
5 PKGNAME
= ${DISTNAME
:S
/-sdl
//}
8 MASTER_SITES
= http
://www.drpetter.se
/files
/
10 MAINTAINER
= wiz@NetBSD.org
11 HOMEPAGE
= http
://www.drpetter.se
/project_sfxr.html
12 COMMENT
= Sound generator for
8-bit game sounds
16 USE_TOOLS
+= gmake pkg-config
19 SUBST_CLASSES
+= prefix
20 SUBST_SED.
prefix= -e
"s,/usr,${PREFIX},g"
21 SUBST_FILES.
prefix= sdlkit.h main.
cpp Makefile
22 SUBST_STAGE.
prefix= pre-build
23 SUBST_MESSAGE.
prefix= Fixing installation path.
25 INSTALLATION_DIRS
= bin share
/sfxr share
/applications share
/doc
/sfxr
26 INSTALLATION_DIRS
+= share
/icons
/hicolor
/48x48
/apps
29 ${INSTALL_PROGRAM} ${WRKSRC}/sfxr
${DESTDIR}${PREFIX}/bin
30 ${INSTALL_DATA} ${WRKSRC}/*.tga
${DESTDIR}${PREFIX}/share
/sfxr
31 ${INSTALL_DATA} ${WRKSRC}/*.bmp
${DESTDIR}${PREFIX}/share
/sfxr
32 ${INSTALL_DATA} ${WRKSRC}/sfxr.png
${DESTDIR}${PREFIX}/share
/icons
/hicolor
/48x48
/apps
33 ${INSTALL_DATA} ${WRKSRC}/sfxr.desktop
${DESTDIR}${PREFIX}/share
/applications
34 ${INSTALL_DATA} ${WRKSRC}/readme.txt
${DESTDIR}${PREFIX}/share
/doc
/sfxr
36 .
include "../../devel/SDL/buildlink3.mk"
37 .
include "../../graphics/hicolor-icon-theme/buildlink3.mk"
38 .
include "../../sysutils/desktop-file-utils/desktopdb.mk"
39 .
include "../../x11/gtk3/buildlink3.mk"
40 .
include "../../mk/bsd.pkg.mk"