svn commit: r383553 - head/audio/wavbreaker
Jan Beich
jbeich at FreeBSD.org
Wed Apr 8 01:55:40 UTC 2015
Author: jbeich
Date: Wed Apr 8 01:55:38 2015
New Revision: 383553
URL: https://svnweb.freebsd.org/changeset/ports/383553
Log:
- Convert to option helpers
- Don't alter default exported PKG_CONFIG
- Clarify LICENSE allows future GPL versions
- Take maintainership
Modified:
head/audio/wavbreaker/Makefile
Modified: head/audio/wavbreaker/Makefile
==============================================================================
--- head/audio/wavbreaker/Makefile Wed Apr 8 00:43:42 2015 (r383552)
+++ head/audio/wavbreaker/Makefile Wed Apr 8 01:55:38 2015 (r383553)
@@ -7,36 +7,25 @@ PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= SF
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= jbeich at FreeBSD.org
COMMENT= Tool to split and merge wav files
-LICENSE= GPLv2
+LICENSE= GPLv2 # or any later version
OPTIONS_DEFINE= PULSEAUDIO NLS
+OPTIONS_SUB= yes
+
+PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
+PULSEAUDIO_CONFIGURE_ENABLE=pulse
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
USE_GNOME= gtk20 libxml2
USES= gmake pathfix pkgconfig desktop-file-utils
GNU_CONFIGURE= yes
-CONFIGURE_ENV= PKG_CONFIG="${LOCALBASE}/bin/pkg-config"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-alsa
INSTALLS_ICONS= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MPULSEAUDIO}
-LIB_DEPENDS+= libpulse.so:${PORTSDIR}/audio/pulseaudio
-.else
-CONFIGURE_ARGS+=--disable-pulse
-.endif
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB= NLS="@comment "
-.endif
-
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list