aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2008-05-06 15:48:18 +0800
committerehaupt <ehaupt@FreeBSD.org>2008-05-06 15:48:18 +0800
commitb98a05c1222d1b40592fff4cb412ed5c8f573624 (patch)
tree6453308d083e8eaca92c8803ff30e71706f5cf1f /audio
parent35ad1d21bbffc561fafd0eecf7bc9765a58e7cc9 (diff)
downloadfreebsd-ports-gnome-b98a05c1222d1b40592fff4cb412ed5c8f573624.tar.gz
freebsd-ports-gnome-b98a05c1222d1b40592fff4cb412ed5c8f573624.tar.zst
freebsd-ports-gnome-b98a05c1222d1b40592fff4cb412ed5c8f573624.zip
- Update MASTER_SITES
- Update WWW - Minor style changes
Diffstat (limited to 'audio')
-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