aboutsummaryrefslogtreecommitdiff
path: root/textproc/bsdsort
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2008-05-27 13:32:35 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2008-05-27 13:32:35 +0000
commitded16e7a9a4a36f8ce4df42fb71e59b6db247304 (patch)
tree24e73e619f4597b60e0728977122acb36164ead7 /textproc/bsdsort
parent4729bbd7ed95d6be53404e699a49a9bf62096762 (diff)
downloadports-ded16e7a9a4a36f8ce4df42fb71e59b6db247304.tar.gz
ports-ded16e7a9a4a36f8ce4df42fb71e59b6db247304.zip
- Update to 20080526
- Create symlinks during the build: bsdsort and gnusort
Notes
Notes: svn path=/head/; revision=213776
Diffstat (limited to 'textproc/bsdsort')
-rw-r--r--textproc/bsdsort/Makefile13
-rw-r--r--textproc/bsdsort/distinfo6
-rw-r--r--textproc/bsdsort/pkg-plist5
3 files changed, 13 insertions, 11 deletions
diff --git a/textproc/bsdsort/Makefile b/textproc/bsdsort/Makefile
index cb300c2aed91..0adf9262e169 100644
--- a/textproc/bsdsort/Makefile
+++ b/textproc/bsdsort/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= sort
-PORTVERSION= 20080422
+PORTVERSION= 20080526
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= gabor
@@ -18,16 +18,13 @@ COMMENT= BSD-licensed version of sort from OpenBSD
WRKSRC= ${WRKDIR}/${PORTNAME}
MANCOMPRESSED= yes
MAN1= sort.1
-PLIST_FILES= bin/sort
MAKE_ENV+= BINDIR="${PREFIX}/bin" \
MANDIR="${MANPREFIX}/man/man" \
CATDIR="${MANPREFIX}/man/man"
-.include <bsd.port.pre.mk>
+post-install:
+ ${LN} -s ${PREFIX}/bin/sort ${PREFIX}/bin/bsdsort
+ ${LN} -s /usr/bin/sort ${PREFIX}/bin/gnusort
-.if ${OSVERSION} < 600000
-IGNORE= is not supported on 5.X
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/textproc/bsdsort/distinfo b/textproc/bsdsort/distinfo
index 38dbdc319c79..dafffac2cc3c 100644
--- a/textproc/bsdsort/distinfo
+++ b/textproc/bsdsort/distinfo
@@ -1,3 +1,3 @@
-MD5 (sort-20080422.tar.gz) = 3765e670728c9ffde68e49f4e5abb661
-SHA256 (sort-20080422.tar.gz) = 37f2bc9e709a31c7680523432763ebf76c8a1bbf448663d045dbb7dcc8bfe7ec
-SIZE (sort-20080422.tar.gz) = 21712
+MD5 (sort-20080526.tar.gz) = 51b5fa8fd6831e6b8499079002120b54
+SHA256 (sort-20080526.tar.gz) = 3f6f0f8d71d62a919063c4fcc263ff637495e6b5f2673a8b5ed7c686c9f27329
+SIZE (sort-20080526.tar.gz) = 22026
diff --git a/textproc/bsdsort/pkg-plist b/textproc/bsdsort/pkg-plist
new file mode 100644
index 000000000000..cb4db61de69e
--- /dev/null
+++ b/textproc/bsdsort/pkg-plist
@@ -0,0 +1,5 @@
+@exec /bin/ln -s %%PREFIX%%/bin/sort %%PREFIX%%/bin/bsdsort
+@exec /bin/ln -s /usr/bin/sort %%PREFIX%%/bin/gnusort
+bin/bsdsort
+bin/gnusort
+bin/sort