diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-05-22 12:19:39 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-05-22 12:19:39 +0000 |
commit | 7d9f704d9895ce08d221710e9cc3a667d6160411 (patch) | |
tree | 93d89b2792ae2e639a00e7d14d8ee3e4b342f431 /audio/vitunes | |
parent | 6c4fbec6bf0d6639e8792424fd5b9656f362feb6 (diff) |
Notes
Diffstat (limited to 'audio/vitunes')
-rw-r--r-- | audio/vitunes/Makefile | 4 | ||||
-rw-r--r-- | audio/vitunes/files/patch-Makefile | 13 |
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 |