1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/audio/id3ren/files/patch-aa

27 lines
568 B
Plaintext
Raw Normal View History

--- Makefile.old Wed Mar 18 04:28:44 1998
+++ Makefile Sun Feb 28 16:04:16 1999
@@ -1,16 +1,18 @@
-CFLAGS = -O2 -s -Wall
+CFLAGS += -O2 -s -Wall
CC = gcc
RM = rm -f
-INSTALL = install -s -m 755
-INSTALL_DIR = ..
+INSTALL = install -cs -m 755 -o root -g wheel
+INSTALL_DIR = ${PREFIX}/bin
INSTALL_NAME = id3ren
SOURCES = id3ren.c id3tag.c file.c misc.c
-all:
+all: ${INSTALL_NAME}
+
+${INSTALL_NAME}:
${CC} ${CFLAGS} -o ${INSTALL_NAME} ${SOURCES}
-install: all
+install: ${INSTALL_NAME}
${INSTALL} ${INSTALL_NAME} ${INSTALL_DIR}/${INSTALL_NAME}
clean: