- Update to 20080526

- Create symlinks during the build: bsdsort and gnusort
This commit is contained in:
Gabor Kovesdan 2008-05-27 13:32:35 +00:00
parent 4729bbd7ed
commit ded16e7a9a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=213776
3 changed files with 13 additions and 11 deletions

View file

@ -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>

View file

@ -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

View file

@ -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