diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-10-05 15:15:20 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-10-05 15:15:20 +0000 |
commit | 7f51942ef7a838ea7685ee85f46eebc6cd08d806 (patch) | |
tree | c9fe92fdd5f3f3485429addb53711b4243a1f56e /audio/cutmp3/files | |
parent | 0fbeaeda7b72cd2e64c75bf724d6fec582626276 (diff) | |
download | ports-7f51942ef7a838ea7685ee85f46eebc6cd08d806.tar.gz ports-7f51942ef7a838ea7685ee85f46eebc6cd08d806.zip |
Notes
Diffstat (limited to 'audio/cutmp3/files')
-rw-r--r-- | audio/cutmp3/files/patch-Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/audio/cutmp3/files/patch-Makefile b/audio/cutmp3/files/patch-Makefile new file mode 100644 index 000000000000..e8dc45462913 --- /dev/null +++ b/audio/cutmp3/files/patch-Makefile @@ -0,0 +1,29 @@ +--- Makefile.orig 2007-04-06 10:19:50.000000000 +0200 ++++ Makefile 2008-10-06 15:32:42.000000000 +0200 +@@ -1,13 +1,11 @@ + NAME=cutmp3 +-VERSION=1.9.2 +-PREFIX=/usr ++PREFIX?= /usr/local + BINDIR=${PREFIX}/bin + DATADIR=${PREFIX}/share +-MANDIR=${PREFIX}/share/man/man1 +-DOCDIR=${DATADIR}/doc/${NAME}-${VERSION} ++MANDIR=${PREFIX}/man/man1 ++DOCDIR=${DATADIR}/doc/${NAME} + + all: +- @echo -e "\n\n*** You need readline-devel, ncurses-devel or similar to compile ${NAME} ***\n*** Maybe you want to try the binary on compile failures? ***\n\n" + gcc -O ${CFLAGS} -c mpglib.c + gcc -O ${CFLAGS} -c main.c + gcc main.o mpglib.o -o ${NAME} -lm -lreadline -lncurses +@@ -28,9 +26,6 @@ + if [ -d /usr/share/apps/konqueror/servicemenus ]; then install -m 644 ${NAME}.desktop /usr/share/apps/konqueror/servicemenus; fi + if [ -d /opt/kde/share/apps/konqueror/servicemenus ]; then install -m 644 ${NAME}.desktop /opt/kde/share/apps/konqueror/servicemenus; fi + if [ -d /opt/kde3/share/apps/konqueror/servicemenus ]; then install -m 644 ${NAME}.desktop /opt/kde3/share/apps/konqueror/servicemenus; fi +- install -d ${DOCDIR}/${NAME} +- install -m 644 README* USAGE ${DOCDIR}/${NAME} +- install -d ${MANDIR} + install -m 644 ${NAME}.1.gz ${MANDIR} + + uninstall: |