mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-10 02:45:11 +00:00
875c9dc6b1
PR: 131428 Submitted by: Dennis Herrmann <adox@mcx2.org>
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# New ports collection makefile for: trommler
|
|
# Date created: 17 Apr 2003
|
|
# Whom: David Yeske <dyeske@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= trommler
|
|
PORTVERSION= 3.8
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://muth.org/Robert/Trommler/
|
|
DISTNAME= ${PORTNAME}.${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A GTK based drum machine
|
|
|
|
WRKSRC= ${WRKDIR}/Trommler
|
|
|
|
USE_GNOME= gtk20
|
|
USE_GMAKE= yes
|
|
|
|
post-patch:
|
|
#the third Makefile edit replaces the contents
|
|
#of a comment so CC can be respected
|
|
@${REINPLACE_CMD} -e \
|
|
's|-O9|${CFLAGS}|; \
|
|
s|-Werror||; \
|
|
s|^# Makefile|CC=${CC}|' \
|
|
${WRKSRC}/Makefile
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
's|"/Drums"|"${PREFIX}/share/trommler/Drums"|' \
|
|
${WRKSRC}/gui.c
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/playsample ${PREFIX}/bin
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/trommler ${PREFIX}/bin
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/wav2smp ${PREFIX}/bin
|
|
@${MKDIR} ${PREFIX}/share/trommler/Drums
|
|
@${MKDIR} ${PREFIX}/share/trommler/Songs
|
|
@${INSTALL_DATA} ${WRKSRC}/Drums/*.smp ${PREFIX}/share/trommler/Drums
|
|
@${INSTALL_DATA} ${WRKSRC}/Songs/*.sng ${PREFIX}/share/trommler/Songs
|
|
|
|
.include <bsd.port.mk>
|