1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/audio/umodplayer/Makefile

43 lines
1.0 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: umodplayer
# Date created: 14 September 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= umodplayer
PORTVERSION= 0.${DISTVERSION:L}
2006-09-18 12:56:18 +00:00
DISTVERSION= B5.1
CATEGORIES= audio
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Console module player
LIB_DEPENDS= modplug.0:${PORTSDIR}/audio/libmodplug \
ao.3:${PORTSDIR}/audio/libao
BUILD_DEPENDS= ${LOCALBASE}/lib/libaiff.a:${PORTSDIR}/audio/libaiff
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
PLIST_FILES= bin/${PORTNAME}
2006-09-18 12:56:18 +00:00
MAN1= ${PORTNAME}.1
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e \
'/CFLAGS/s| =| +=| ; \
/CFLAGS/s| -O2| $$(CPPFLAGS)|g ; \
/^@/d' ${WRKSRC}/${MAKEFILE}.in
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
2006-09-18 12:56:18 +00:00
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
.include <bsd.port.mk>