summaryrefslogtreecommitdiff
path: root/sysutils/sortu/Makefile
blob: e0436b5522513c38f91d7d6facb31039e52d6180 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Matt Peterson <matt@peterson.org>
# $FreeBSD$

PORTNAME=	sortu
PORTVERSION=	2.1.2
CATEGORIES=	sysutils
MASTER_SITES=	http://256.com/sources/sortu/ \
		http://matt.peterson.org/FreeBSD/ports/
EXTRACT_SUFX=	.tgz

MAINTAINER=	matt@peterson.org
COMMENT=	Tool that combines sort and uniq functionality

LICENSE=	ISCL

PORTDOCS=	*
PLIST_FILES=	bin/sortu

ALL_TARGET=	sortu

NO_STAGE=	yes
.include <bsd.port.options.mk>

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/sortu ${PREFIX}/bin

post-install:
.if ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
.endif

.include <bsd.port.mk>