freebsd-ports/audio/modplugplay/Makefile
Baptiste Daroussin 5978476c35 In preparation for making libtool generate libraries with a sane name, fix all
LIB_DEPENDS in audio

With hat:	portmgr
2013-12-11 14:35:36 +00:00

32 lines
841 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= modplugplay
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= http://gnu.ethz.ch/linuks.mine.nu/modplugplay/ \
http://critical.ch/distfiles/ \
http://energy.critical.ch/distfiles/
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Command-line music mod player using libmodplug
LICENSE= GPLv2
LIB_DEPENDS= libmodplug.so:${PORTSDIR}/audio/libmodplug
PLIST_FILES= bin/modplugplay man/man1/modplugplay.1.gz
CFLAGS+= -I${LOCALBASE}/include/libmodplug -L${LOCALBASE}/lib
LDFLAGS+= -lmodplug
do-build:
${CXX} ${WRKSRC}/${PORTNAME}.c ${CFLAGS} ${LDFLAGS} \
-o ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>