From aa75a525a4892d1b16654acf5f8f9b7cc1ac86f0 Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Fri, 6 Jun 2014 16:13:47 +0000 Subject: [PATCH] - Add staging support - Use canonical name for patch --- mail/sigrot/Makefile | 7 ++++--- mail/sigrot/files/patch-aa | 19 ------------------- .../sigrot/files/{patch-ab => patch-sigrot.c} | 0 3 files changed, 4 insertions(+), 22 deletions(-) delete mode 100644 mail/sigrot/files/patch-aa rename mail/sigrot/files/{patch-ab => patch-sigrot.c} (100%) diff --git a/mail/sigrot/Makefile b/mail/sigrot/Makefile index 789d50c91906..a23705014814 100644 --- a/mail/sigrot/Makefile +++ b/mail/sigrot/Makefile @@ -11,8 +11,9 @@ DISTNAME= ${PORTNAME}_v${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Util to rotate your mail/news signature -MAN1= sigrot.1 -PLIST_FILES= bin/sigrot +MAKE_ARGS= DEST="${STAGEDIR}${PREFIX}/bin" \ + MANDEST="${STAGEDIR}${PREFIX}/man/man1" + +PLIST_FILES= bin/sigrot man/man1/sigrot.1.gz -NO_STAGE= yes .include diff --git a/mail/sigrot/files/patch-aa b/mail/sigrot/files/patch-aa deleted file mode 100644 index 7c494bb6244e..000000000000 --- a/mail/sigrot/files/patch-aa +++ /dev/null @@ -1,19 +0,0 @@ ---- Makefile.orig Wed Mar 4 13:40:36 1998 -+++ Makefile Wed Mar 4 15:55:25 1998 -@@ -1,6 +1,6 @@ --DEST = /usr/local/bin -+DEST = ${PREFIX}/bin - --MANDEST = /usr/man/man1 -+MANDEST = ${PREFIX}/man/man1 - - MANFILE = sigrot.1 - -@@ -18,7 +18,6 @@ - - $(PROGRAM): $(LIBS) - @$(LD) $(SRCS) -o $(PROGRAM) -- @echo "done" - - clean:; @rm -f core - diff --git a/mail/sigrot/files/patch-ab b/mail/sigrot/files/patch-sigrot.c similarity index 100% rename from mail/sigrot/files/patch-ab rename to mail/sigrot/files/patch-sigrot.c