aboutsummaryrefslogtreecommitdiffstats
path: root/print/mp-letter/Makefile
blob: 0d252fbf9ec3d66003d4e8f9dc4df93bd597c679 (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
# Created by: David O'Brien <obrien@cs.ucdavis.edu>
# $FreeBSD$

PORTNAME=   mp-${PAPERSIZE}
PORTVERSION=    3.0.1
CATEGORIES= print
MASTER_SITES=   LOCAL/obrien
DISTNAME=   mp-3.0.1

MAINTAINER= ports@FreeBSD.org
COMMENT=    PostScript printing util for ASCII files

WRKSRC=     ${WRKDIR}/mp
LINKS=      digestp filep filofaxp franklinp mailp newsp timemanp timesysp

PAPERSIZE?= letter
.if ${PAPERSIZE:tl} == a4
INSTALL_TARGET= install-a4
.endif

MAKEFILE=   Makefile.dist

post-install:
.for a in ${LINKS}
    ${LN} -sf mp.1 ${STAGEDIR}${PREFIX}/man/man1/${a}.1
.endfor

.include <bsd.port.mk>