mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
ded16e7a9a
- Create symlinks during the build: bsdsort and gnusort
31 lines
667 B
Makefile
31 lines
667 B
Makefile
# New ports collection makefile for: bsd-sort
|
|
# Date created: 12 Juni 2007
|
|
# Whom: Gabor Kovesdan <gabor@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sort
|
|
PORTVERSION= 20080526
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= gabor
|
|
PKGNAMEPREFIX= bsd-
|
|
|
|
MAINTAINER= gabor@FreeBSD.org
|
|
COMMENT= BSD-licensed version of sort from OpenBSD
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
MANCOMPRESSED= yes
|
|
MAN1= sort.1
|
|
|
|
MAKE_ENV+= BINDIR="${PREFIX}/bin" \
|
|
MANDIR="${MANPREFIX}/man/man" \
|
|
CATDIR="${MANPREFIX}/man/man"
|
|
|
|
post-install:
|
|
${LN} -s ${PREFIX}/bin/sort ${PREFIX}/bin/bsdsort
|
|
${LN} -s /usr/bin/sort ${PREFIX}/bin/gnusort
|
|
|
|
.include <bsd.port.mk>
|