opnsense-ports/www/multisort/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01: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