aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-07-12 15:01:45 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-07-12 15:01:45 +0000
commitdaffe00d4a57c0ef6a21947a8121b8d233d8d3a5 (patch)
tree713942325bda393305edb21d46cd7f38d213aebc /audio
parent51498efaebaad1106dcf0d3f70c8feaa14c411ee (diff)
downloadports-daffe00d4a57c0ef6a21947a8121b8d233d8d3a5.tar.gz
ports-daffe00d4a57c0ef6a21947a8121b8d233d8d3a5.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/audiere/Makefile6
-rw-r--r--audio/dumb/Makefile2
-rw-r--r--audio/ximp3/Makefile17
-rw-r--r--audio/ximp3/pkg-plist3
4 files changed, 12 insertions, 16 deletions
diff --git a/audio/audiere/Makefile b/audio/audiere/Makefile
index a1094122b44b..b2d62a2e377c 100644
--- a/audio/audiere/Makefile
+++ b/audio/audiere/Makefile
@@ -34,7 +34,7 @@ OPTIONS_DEFAULT= DUMB CDAUDIO VORBIS SPEEX
DUMB_DESC= DUMB support
CDAUDIO_DESC= libcdaudio support
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
# Broken with recent FLAC
#.if !defined(WITHOUT_FLAC)
@@ -75,12 +75,12 @@ post-patch:
-e 's|-lpthread|${PTHREAD_LIBS}|' \
${WRKSRC}/configure.in
-.if !defined(NOPORTDOCS)
post-install:
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/dumb/Makefile b/audio/dumb/Makefile
index 29d9d2203b9a..bab3656b58c4 100644
--- a/audio/dumb/Makefile
+++ b/audio/dumb/Makefile
@@ -18,7 +18,7 @@ ALLEGRO_DESC= Enable allegro support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MALLEGRO}
-LIB_DEPENDS+= alleg.42:${PORTSDIR}/devel/allegro
+LIB_DEPENDS+= alleg:${PORTSDIR}/devel/allegro
PLIST_SUB+= ALLEGRO=""
MAKE_ARGS= _PORT_ALLEGRO_CFLAGS="`allegro-config --cflags`"
PKGNAMESUFFIX= -allegro
diff --git a/audio/ximp3/Makefile b/audio/ximp3/Makefile
index 0f8d641a156f..e6f83af42b2a 100644
--- a/audio/ximp3/Makefile
+++ b/audio/ximp3/Makefile
@@ -1,24 +1,23 @@
-# ex:ts=8
-# Ports collection makefile for: ximp3
-# Date created: Jan 17, 2002
-# Whom: ijliao
-#
+# Created by: ijliao
# $FreeBSD$
-#
PORTNAME= ximp3
PORTVERSION= 0.1.15
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/sound/players/mp3
+MASTER_SITES= SUNSITE/apps/sound/players/mp3
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A simple console MP3 player
GNU_CONFIGURE= yes
+PORTDOCS= *
+
+PLIST_FILES= bin/${PORTNAME}
+
+.include <bsd.port.options.mk>
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
diff --git a/audio/ximp3/pkg-plist b/audio/ximp3/pkg-plist
deleted file mode 100644
index 61dbdb008b14..000000000000
--- a/audio/ximp3/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/ximp3
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%