aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/bsdsort
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2008-05-27 21:32:35 +0800
committergabor <gabor@FreeBSD.org>2008-05-27 21:32:35 +0800
commitdfe6cad0f8f1451a9b2274fd0e6dbd70ec489bda (patch)
tree9c88a84b4a1b7ea6d80e5d414dd82d63ac337f26 /textproc/bsdsort
parentd1f66ebb4ae64d7a0885fb8b361281121eecba29 (diff)
downloadfreebsd-ports-gnome-dfe6cad0f8f1451a9b2274fd0e6dbd70ec489bda.tar.gz
freebsd-ports-gnome-dfe6cad0f8f1451a9b2274fd0e6dbd70ec489bda.tar.zst
freebsd-ports-gnome-dfe6cad0f8f1451a9b2274fd0e6dbd70ec489bda.zip
- Update to 20080526
- Create symlinks during the build: bsdsort and gnusort
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