aboutsummaryrefslogtreecommitdiffstats
path: root/audio/modplugplay/Makefile
blob: 8db30616b93be5b3e065abc7cc0fc0ea8a297ca7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:   modplugplay
# Date created:     3 February 2004
# Whom:         Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#

PORTNAME=   modplugplay
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   http://www.linuks.mine.nu/modplugplay/ \
        http://critical.ch/distfiles/ \
        http://energy.critical.ch/distfiles/

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    A commandline music mod player using libmodplug

LIB_DEPENDS=    modplug.0:${PORTSDIR}/audio/libmodplug

MAN1=       modplugplay.1
PLIST_FILES=    bin/modplugplay

do-build:
    ${CXX} ${WRKSRC}/modplugplay.c ${CFLAGS} -o ${WRKSRC}/${PORTNAME} -lmodplug -L${LOCALBASE}/lib -I${LOCALBASE}/include/libmodplug

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1

.include <bsd.port.mk>