freebsd-ports/audio/drumpiler/Makefile
Edwin Groothuis 672c044e2e Properly use SDL everywhere:
USE_SDL=yes	-> USE_SDL=sdl	(good examles everywhere)
	WANT_SDL/HAVE_SDL instead of exists(localbase/lib/lib...)

See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-sdl.html
for more information on how to use USE_SDL, WANT_SDL and HAVE_SDL.

PR:		follow-ups of ports/55494, ports/61877
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
2004-03-08 01:01:31 +00:00

33 lines
693 B
Makefile

# ex:ts=8
# Ports collection makefile for: drumpiler
# Date created: Jan 15, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= drumpiler
PORTVERSION= 0.9.0
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>