blob: 59b823fc6ef262f68f4129721115276d1c1d7530 (
plain)
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
32
|
# 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>
|