aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2008-05-06 07:48:18 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2008-05-06 07:48:18 +0000
commit0724452f2d935986c41d42e68247eb6d00000a69 (patch)
treefb16b10838b569774242ad6d24b904a5e6b4427c
parentea705d39bf2fdab8b01b741c023e74533fae3812 (diff)
downloadports-0724452f2d935986c41d42e68247eb6d00000a69.tar.gz
ports-0724452f2d935986c41d42e68247eb6d00000a69.zip
Notes
-rw-r--r--audio/modplugplay/Makefile10
-rw-r--r--audio/modplugplay/pkg-descr2
2 files changed, 8 insertions, 4 deletions
diff --git a/audio/modplugplay/Makefile b/audio/modplugplay/Makefile
index 8db30616b93b..39a2596dda57 100644
--- a/audio/modplugplay/Makefile
+++ b/audio/modplugplay/Makefile
@@ -9,7 +9,7 @@ PORTNAME= modplugplay
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= audio
-MASTER_SITES= http://www.linuks.mine.nu/modplugplay/ \
+MASTER_SITES= http://gnu.ethz.ch/linuks.mine.nu/modplugplay/ \
http://critical.ch/distfiles/ \
http://energy.critical.ch/distfiles/
@@ -21,11 +21,15 @@ LIB_DEPENDS= modplug.0:${PORTSDIR}/audio/libmodplug
MAN1= modplugplay.1
PLIST_FILES= bin/modplugplay
+CFLAGS+= -I${LOCALBASE}/include/libmodplug -L${LOCALBASE}/lib
+LDFLAGS+= -lmodplug
+
do-build:
- ${CXX} ${WRKSRC}/modplugplay.c ${CFLAGS} -o ${WRKSRC}/${PORTNAME} -lmodplug -L${LOCALBASE}/lib -I${LOCALBASE}/include/libmodplug
+ ${CXX} ${WRKSRC}/${PORTNAME}.c ${CFLAGS} ${LDFLAGS} \
+ -o ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/audio/modplugplay/pkg-descr b/audio/modplugplay/pkg-descr
index 4fe67ede86fd..54ddf021dc0e 100644
--- a/audio/modplugplay/pkg-descr
+++ b/audio/modplugplay/pkg-descr
@@ -2,7 +2,7 @@ modplugplay is a command line player for many music modules (669, amf,
ams, dbm, dmf, dsm, far, it, j2b, mdl, med mod, mt2, mtm, okt, psm,
ptm, s3m, stm, ult, umx and xm) using the libmodplug library.
-WWW: http://www.linuks.mine.nu/modplugplay/
+WWW: http://gnu.ethz.ch/linuks.mine.nu/modplugplay/
- ehaupt
ehaupt@critical.ch