blob: a14c6406efd1f38c13fae89b9b590b73aec65b16 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# 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_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>
|