aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-06-07 00:13:47 +0800
committerpawel <pawel@FreeBSD.org>2014-06-07 00:13:47 +0800
commit9e5642fe37089d5e9583ae0e7d9528e88b0b91fb (patch)
tree6f9ba3190f788067f3162c94a0a30df8af39bda1 /mail
parentd182d09ace43fb93072bb88de5b13738cd6334dc (diff)
downloadfreebsd-ports-gnome-9e5642fe37089d5e9583ae0e7d9528e88b0b91fb.tar.gz
freebsd-ports-gnome-9e5642fe37089d5e9583ae0e7d9528e88b0b91fb.tar.zst
freebsd-ports-gnome-9e5642fe37089d5e9583ae0e7d9528e88b0b91fb.zip
- Add staging support
- Use canonical name for patch
Diffstat (limited to 'mail')
-rw-r--r--mail/sigrot/Makefile7
-rw-r--r--mail/sigrot/files/patch-aa19
-rw-r--r--mail/sigrot/files/patch-sigrot.c (renamed from mail/sigrot/files/patch-ab)0
3 files changed, 4 insertions, 22 deletions
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 <bsd.port.mk>
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
index e15d986364d0..e15d986364d0 100644
--- a/mail/sigrot/files/patch-ab
+++ b/mail/sigrot/files/patch-sigrot.c