pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/pt2-clone
Module Name: pkgsrc
Committed By: nia
Date: Sun Jan 10 11:31:32 UTC 2021
Modified Files:
pkgsrc/audio/pt2-clone: Makefile
Log Message:
pt2-clone: Normalize build and installation process.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/audio/pt2-clone/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/pt2-clone/Makefile
diff -u pkgsrc/audio/pt2-clone/Makefile:1.2 pkgsrc/audio/pt2-clone/Makefile:1.3
--- pkgsrc/audio/pt2-clone/Makefile:1.2 Wed Jan 6 01:19:20 2021
+++ pkgsrc/audio/pt2-clone/Makefile Sun Jan 10 11:31:32 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2021/01/06 01:19:20 js Exp $
+# $NetBSD: Makefile,v 1.3 2021/01/10 11:31:32 nia Exp $
DISTNAME= pt2-clone-1.28
CATEGORIES= audio
@@ -11,18 +11,13 @@ HOMEPAGE= https://github.com/8bitbubsy/p
COMMENT= ProTracker 2 clone for Windows/macOS/Linux
LICENSE= modified-bsd
-INSTALLATION_DIRS+= bin share/examples/pt2-clone
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
-do-build:
- cd ${WRKSRC} && ${CC} -o pt2-clone \
- -O2 -DNDEBUG \
- $$(sdl2-config --cflags --libs) \
- src/*.c src/gfx/*.c
-
-do-install:
- cd ${WRKSRC} && ${INSTALL} -m 755 pt2-clone \
- ${DESTDIR}${PREFIX}/bin/pt2-clone
- cd ${WRKSRC} && ${INSTALL} -m 644 release/other/protracker.ini \
+INSTALLATION_DIRS+= share/examples/pt2-clone
+
+post-install:
+ cd ${WRKSRC} && ${INSTALL_DATA} release/other/protracker.ini \
${DESTDIR}${PREFIX}/share/examples/pt2-clone/protracker.ini
.include "../../devel/SDL2/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index