aboutsummaryrefslogtreecommitdiff
path: root/audio/xfmpc/Makefile
diff options
context:
space:
mode:
authorOlivier Duchateau <olivierd@FreeBSD.org>2015-01-10 16:31:39 +0000
committerOlivier Duchateau <olivierd@FreeBSD.org>2015-01-10 16:31:39 +0000
commitbcd2a6a36393d483752e7aa719050aa82075c48d (patch)
tree0150a82b17dfa7413c5acfee3223a259ecf14da6 /audio/xfmpc/Makefile
parentb0633395f792c8d45383c219d54df6d32366fe4b (diff)
downloadports-bcd2a6a36393d483752e7aa719050aa82075c48d.tar.gz
ports-bcd2a6a36393d483752e7aa719050aa82075c48d.zip
Notes
Diffstat (limited to 'audio/xfmpc/Makefile')
-rw-r--r--audio/xfmpc/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/audio/xfmpc/Makefile b/audio/xfmpc/Makefile
index 8de4deb7acb8..d990af3da1b6 100644
--- a/audio/xfmpc/Makefile
+++ b/audio/xfmpc/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xfmpc
PORTVERSION= 0.2.2
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= audio xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR=/src/apps/${PORTNAME}/${PORTVERSION:R}
@@ -12,6 +12,7 @@ DIST_SUBDIR= xfce4
MAINTAINER= xfce@FreeBSD.org
COMMENT= Graphical MPD client focusing on low footprint
+BUILD_DEPENDS= valac:${PORTSDIR}/lang/vala
LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd
INSTALLS_ICONS= yes
@@ -20,4 +21,11 @@ GNU_CONFIGURE= yes
USE_GNOME= gtk20 intltool intlhack
USE_XFCE= configenv libmenu libutil
+post-extract:
+ ${CP} ${FILESDIR}/config.vapi ${WRKSRC}/src
+
+post-patch:
+ ${FIND} ${WRKSRC} -type f -name 'Makefile.in' | \
+ ${XARGS} ${REINPLACE_CMD} 's|@VALAC@|${LOCALBASE}/bin/valac|'
+
.include <bsd.port.mk>