mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
c9ea361463
on sdl12-1.2.5
35 lines
709 B
Makefile
35 lines
709 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: drumpiler
|
|
# Date created: Jan 15, 2004
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= drumpiler
|
|
PORTVERSION= 0.9.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Drum machine compiler
|
|
|
|
USE_REINPLACE= yes
|
|
USE_SDL= sdl
|
|
CFLAGS+= `${SDL_CONFIG} --cflags`
|
|
LIBS+= `${SDL_CONFIG} --libs`
|
|
PLIST_FILES= bin/drumpiler
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|SDL.h|SDL11/SDL.h|" ${WRKSRC}/drumpiler.c
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -DUSESDL -o drumpiler drumpiler.c ${LIBS}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/drumpiler ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|