diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2014-01-26 00:03:51 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2014-01-26 00:03:51 +0000 |
commit | 005071a063d80b0b3365ca212399876ea3a2361c (patch) | |
tree | 4b7f7b88d3de8b518ba048a5eff4bfd091c74416 /textproc/bsddiff | |
parent | 18bc365f51a1a0bae2df36720bd7c0925f1ccf08 (diff) | |
download | ports-005071a063d80b0b3365ca212399876ea3a2361c.tar.gz ports-005071a063d80b0b3365ca212399876ea3a2361c.zip |
Notes
Diffstat (limited to 'textproc/bsddiff')
-rw-r--r-- | textproc/bsddiff/Makefile | 8 | ||||
-rw-r--r-- | textproc/bsddiff/pkg-plist | 9 |
2 files changed, 6 insertions, 11 deletions
diff --git a/textproc/bsddiff/Makefile b/textproc/bsddiff/Makefile index d497a6f48165..21040366a2b7 100644 --- a/textproc/bsddiff/Makefile +++ b/textproc/bsddiff/Makefile @@ -11,17 +11,11 @@ PKGNAMEPREFIX= bsd- MAINTAINER= gabor@FreeBSD.org COMMENT= BSD-licensed version of diff from OpenBSD +USES= uidfix WRKSRC= ${WRKDIR}/${PORTNAME} -MANCOMPRESSED= yes -MAN1= bsddiff.1 MAKE_ENV+= BINDIR="${PREFIX}/bin" \ MANDIR="${MANPREFIX}/man/man" \ CATDIR="${MANPREFIX}/man/man" -NO_STAGE= yes -post-install: - ${LN} -s ${PREFIX}/bin/bsddiff ${PREFIX}/bin/diff - ${LN} -s /usr/bin/diff ${PREFIX}/bin/gnudiff - .include <bsd.port.mk> diff --git a/textproc/bsddiff/pkg-plist b/textproc/bsddiff/pkg-plist index ce79d2a888a8..659b50543034 100644 --- a/textproc/bsddiff/pkg-plist +++ b/textproc/bsddiff/pkg-plist @@ -1,5 +1,6 @@ -@exec /bin/ln -s %%PREFIX%%/bin/bsddiff %%PREFIX%%/bin/diff -@exec /bin/ln -s /usr/bin/diff %%PREFIX%%/bin/gnudiff +@unexec rm -f %D/bin/diff +@exec /bin/ln -s %D/bin/bsddiff %D/bin/diff +@unexec rm -f %D/bin/gnudiff +@exec /bin/ln -s /usr/bin/diff %D/bin/gnudiff bin/bsddiff -bin/diff -bin/gnudiff +man/man1/bsddiff.1.gz |