freebsd-ports/www/multisort/files/patch-Makefile
Rodrigo Osorio dc7800de31 - staging multisort
- take maintenership
- add license

Approved by:	bapt (mentor)
2014-06-27 21:06:57 +00:00

19 lines
420 B
Text

--- Makefile.orig 1999-10-28 19:04:24.000000000 +0000
+++ Makefile 2014-06-27 13:34:53.992555530 +0000
@@ -1,9 +1,10 @@
-#
-# $Id: Makefile,v 1.1 1999/01/14 19:05:35 xach Exp $
-#
-
-CC = gcc
+PREFIX?= /usr/local
+CC?= gcc
CFLAGS = -Wall -g -O2
-multisort: multisort.c
+all:
$(CC) $(CFLAGS) -o multisort multisort.c
+
+install:
+ @mkdir -p ${DESTDIR}${PREFIX}/bin
+ install -m 755 multisort ${DESTDIR}${PREFIX}/bin