aboutsummaryrefslogtreecommitdiffstats
path: root/audio/vitunes
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-05-22 20:19:39 +0800
committervanilla <vanilla@FreeBSD.org>2014-05-22 20:19:39 +0800
commitb522c27cbf64abb3da4fc2e63dc4f26c6bdbc17e (patch)
tree93d89b2792ae2e639a00e7d14d8ee3e4b342f431 /audio/vitunes
parent3078bca6c126c6e66b493af5c2f57a1a8f89d300 (diff)
downloadfreebsd-ports-gnome-b522c27cbf64abb3da4fc2e63dc4f26c6bdbc17e.tar.gz
freebsd-ports-gnome-b522c27cbf64abb3da4fc2e63dc4f26c6bdbc17e.tar.zst
freebsd-ports-gnome-b522c27cbf64abb3da4fc2e63dc4f26c6bdbc17e.zip
Stageify.
Approved by: portmgr@
Diffstat (limited to 'audio/vitunes')
-rw-r--r--audio/vitunes/Makefile4
-rw-r--r--audio/vitunes/files/patch-Makefile13
2 files changed, 14 insertions, 3 deletions
diff --git a/audio/vitunes/Makefile b/audio/vitunes/Makefile
index 9ecc8bc42a1d..bb1912b5392c 100644
--- a/audio/vitunes/Makefile
+++ b/audio/vitunes/Makefile
@@ -16,10 +16,8 @@ COMMENT= A curses-based media player with vim-like keybinds
RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib
-NO_STAGE= yes
ALL_TARGET= vitunes
-PLIST_FILES= bin/vitunes
-MAN1= vitunes.1
+PLIST_FILES= bin/vitunes man/man1/${PORTNAME}.1.gz
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/Makefile
diff --git a/audio/vitunes/files/patch-Makefile b/audio/vitunes/files/patch-Makefile
new file mode 100644
index 000000000000..3cd3836e2df6
--- /dev/null
+++ b/audio/vitunes/files/patch-Makefile
@@ -0,0 +1,13 @@
+--- Makefile.orig 2014-05-22 20:16:49.520071386 +0800
++++ Makefile 2014-05-22 20:17:06.033081335 +0800
+@@ -40,8 +40,8 @@ clean:
+ rm -f vitunes vitunes.core vitunes-debug.log
+
+ install: vitunes
+- /usr/bin/install -c -m 0555 vitunes $(BINDIR)
+- /usr/bin/install -c -m 0444 vitunes.1 $(MANDIR)
++ /usr/bin/install -c -m 0555 vitunes $(DESTDIR)$(BINDIR)
++ /usr/bin/install -c -m 0444 vitunes.1 $(DESTDIR)$(MANDIR)
+
+ uninstall:
+ rm -f $(BINDIR)/vitunes