mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
43 lines
1015 B
Makefile
43 lines
1015 B
Makefile
# New ports collection makefile for: dumb
|
|
# Date created: 26 January 2005
|
|
# Whom: Andreas Kohn <andreas@syndrom23.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dumb
|
|
PORTVERSION= 0.9.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= dumb
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= IT, XM, S3M and MOD player library
|
|
|
|
USE_GMAKE= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_ALLEGRO)
|
|
LIB_DEPENDS+= alleg.42:${PORTSDIR}/devel/allegro
|
|
PLIST_SUB+= ALLEGRO=""
|
|
MAKE_ARGS= _PORT_ALLEGRO_CFLAGS="`allegro-config --cflags`"
|
|
.else
|
|
PLIST_SUB+= ALLEGRO="@comment "
|
|
MAKE_ARGS= _PORT_ALLEGRO_CFLAGS=
|
|
.endif
|
|
|
|
MAKE_ENV+= CC="${CC}"
|
|
|
|
pre-configure:
|
|
@${CP} ${FILESDIR}/config.txt ${WRKSRC}/make
|
|
@${REINPLACE_CMD} -e "s,@LOCALBASE@,${LOCALBASE}," ${WRKSRC}/make/config.txt
|
|
.if defined(WITH_ALLEGRO)
|
|
@${REINPLACE_CMD} -e "s,@ALLEGRO@,," ${WRKSRC}/make/config.txt
|
|
.else
|
|
@${REINPLACE_CMD} -e "s,@ALLEGRO@,#," ${WRKSRC}/make/config.txt
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|