aboutsummaryrefslogtreecommitdiff
path: root/textproc/2bsd-diff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-02-17 13:46:27 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-02-17 13:46:27 +0000
commitdf8eeaffbc33900a39cefd9c080af1549fe28763 (patch)
treee2e4c0e86fd34740db2bacb79f1067f155e89a3b /textproc/2bsd-diff
parentd4ab786704ca2f16f1eee1512e197f697e1f403a (diff)
downloadports-df8eeaffbc33900a39cefd9c080af1549fe28763.tar.gz
ports-df8eeaffbc33900a39cefd9c080af1549fe28763.zip
Convert to staging.
Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=344747
Diffstat (limited to 'textproc/2bsd-diff')
-rw-r--r--textproc/2bsd-diff/Makefile3
-rw-r--r--textproc/2bsd-diff/files/patch-Makefile10
-rw-r--r--textproc/2bsd-diff/pkg-plist2
3 files changed, 6 insertions, 9 deletions
diff --git a/textproc/2bsd-diff/Makefile b/textproc/2bsd-diff/Makefile
index 0fed3b6f3624..21ee75cb6dee 100644
--- a/textproc/2bsd-diff/Makefile
+++ b/textproc/2bsd-diff/Makefile
@@ -17,9 +17,8 @@ CFLAGS+= -Wno-error=return-type
EXTRACT_AFTER_ARGS= bin/diff man/man1/diff.1
WRKSRC= ${WRKDIR}/bin/diff
-MAN1= 2diff.1
+PLIST_FILES= bin/2diff libexec/2diffh man/man1/2diff.1.gz
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
${WRKSRC}/../../man/man1/diff.1
diff --git a/textproc/2bsd-diff/files/patch-Makefile b/textproc/2bsd-diff/files/patch-Makefile
index 7bb318b354b7..c483bcbf9a09 100644
--- a/textproc/2bsd-diff/files/patch-Makefile
+++ b/textproc/2bsd-diff/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Tue Oct 22 13:29:46 1996
-+++ Makefile Wed Mar 19 01:29:12 2003
+--- ./Makefile.orig 1996-10-22 04:29:46.000000000 +0000
++++ ./Makefile 2014-02-17 13:43:18.000000000 +0000
@@ -1,9 +1,9 @@
# @(#)Makefile 4.1.1 1996/10/21
#
@@ -31,6 +31,6 @@
install: all
- install -s diff ${DESTDIR}/bin/diff
- install -s diffh ${DESTDIR}/usr/libexec/diffh
-+ ${BSD_INSTALL_PROGRAM} diff ${DIFF}
-+ ${BSD_INSTALL_PROGRAM} diffh ${DIFFH}
-+ ${BSD_INSTALL_MAN} ../../man/man1/diff.1 ${MANPREFIX}/man/man1/2diff.1
++ ${BSD_INSTALL_PROGRAM} diff ${DESTDIR}${DIFF}
++ ${BSD_INSTALL_PROGRAM} diffh ${DESTDIR}${DIFFH}
++ ${BSD_INSTALL_MAN} ../../man/man1/diff.1 ${DESTDIR}${MANPREFIX}/man/man1/2diff.1
diff --git a/textproc/2bsd-diff/pkg-plist b/textproc/2bsd-diff/pkg-plist
deleted file mode 100644
index e71ed99c1daa..000000000000
--- a/textproc/2bsd-diff/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/2diff
-libexec/2diffh