2013-03-08 15:00:30 +01:00
|
|
|
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
2004-05-28 20:52:29 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= modplugplay
|
|
|
|
PORTVERSION= 1.0
|
2010-05-28 08:56:46 +02:00
|
|
|
PORTREVISION= 3
|
2004-05-28 20:52:29 +02:00
|
|
|
CATEGORIES= audio
|
2015-01-06 14:07:09 +01:00
|
|
|
MASTER_SITES= LOCAL/ehaupt
|
2004-05-28 20:52:29 +02:00
|
|
|
|
2005-10-06 13:57:11 +02:00
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
2013-03-08 15:00:30 +01:00
|
|
|
COMMENT= Command-line music mod player using libmodplug
|
2004-05-28 20:52:29 +02:00
|
|
|
|
2011-12-27 16:14:23 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-12-11 15:35:36 +01:00
|
|
|
LIB_DEPENDS= libmodplug.so:${PORTSDIR}/audio/libmodplug
|
2004-05-28 20:52:29 +02:00
|
|
|
|
2013-10-25 16:52:21 +02:00
|
|
|
PLIST_FILES= bin/modplugplay man/man1/modplugplay.1.gz
|
2004-05-28 20:52:29 +02:00
|
|
|
|
2008-05-06 09:48:18 +02:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include/libmodplug -L${LOCALBASE}/lib
|
|
|
|
LDFLAGS+= -lmodplug
|
|
|
|
|
2004-05-28 20:52:29 +02:00
|
|
|
do-build:
|
2008-05-06 09:48:18 +02:00
|
|
|
${CXX} ${WRKSRC}/${PORTNAME}.c ${CFLAGS} ${LDFLAGS} \
|
|
|
|
-o ${WRKSRC}/${PORTNAME}
|
2004-05-28 20:52:29 +02:00
|
|
|
|
|
|
|
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
|
2004-05-28 20:52:29 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|