freebsd-ports/audio/modplugplay/Makefile

31 lines
732 B
Makefile
Raw Normal View History

2013-03-08 15:00:30 +01:00
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= modplugplay
PORTVERSION= 1.0
2010-05-28 08:56:46 +02:00
PORTREVISION= 3
CATEGORIES= audio
2015-01-06 14:07:09 +01:00
MASTER_SITES= LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org
2013-03-08 15:00:30 +01:00
COMMENT= Command-line music mod player using libmodplug
2011-12-27 16:14:23 +01:00
LICENSE= GPLv2
LIB_DEPENDS= libmodplug.so:${PORTSDIR}/audio/libmodplug
2013-10-25 16:52:21 +02:00
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:
2013-10-25 16:52:21 +02:00
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>