mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
|
|
|
PORTNAME= schismtracker
|
|
PORTVERSION= 20200412
|
|
CATEGORIES= audio
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Module tracker editor/player resembling impulse tracker
|
|
|
|
LICENSE= GPLv2
|
|
|
|
ONLY_FOR_ARCHS= amd64 i386 powerpc64le
|
|
|
|
USES= autoreconf compiler:c++11-lib desktop-file-utils python sdl \
|
|
xorg
|
|
USE_GITHUB= yes
|
|
USE_SDL= sdl
|
|
USE_XORG= x11 xext xv
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
# if you touch these make sure configure finds X11/XKBlib.h presence
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= `sdl-config --libs`
|
|
LIBS+= -lm -lX11
|
|
|
|
PLIST_FILES= bin/schismtracker \
|
|
man/man1/schismtracker.1.gz \
|
|
share/applications/schism.desktop \
|
|
share/pixmaps/schism-icon-128.png \
|
|
share/pixmaps/schism-itf-icon-128.png
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} \
|
|
-e "s|^\(AC_INIT.*\)\[last_git_commit\]|\1${PORTVERSION}|" \
|
|
-e '/^m4_define.*last_git_commit.*git/d' \
|
|
${WRKSRC}/configure.ac
|
|
@${REINPLACE_CMD} -e '/^schismtracker_LDADD/d' ${WRKSRC}/Makefile.am
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/sys/fd.org/*.desktop ${STAGEDIR}${DESKTOPDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/icons/schism-icon-128.png \
|
|
${WRKSRC}/icons/schism-itf-icon-128.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps
|
|
|
|
.include <bsd.port.mk>
|