aboutsummaryrefslogtreecommitdiffstats
path: root/print/mp-letter/Makefile
blob: bd5fdb3d416bd50dcb3b514675e36407d248f68c (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
34
35
36
37
38
39
# ex:ts=8
# Ports collection makefile for:  mp (letter)
# Date created:           11 July 1996
# Whom:               David O'Brien <obrien@cs.ucdavis.edu>
#
# $FreeBSD$
#

PORTNAME=   mp-${PAPERSIZE}
PORTVERSION=    3.0.1
CATEGORIES= print
MASTER_SITES=   ftp://relay.NUXI.org/pub/misc/ \
        ftp://ftp.netsw.org/system/tools/print/ \
#       ftp://ftp.fu-berlin.de/unix/tools/mp/
#       ftp://ftp.inria.fr/system/user/
DISTNAME=   mp-3.0.1

MAINTAINER= obrien@FreeBSD.org
COMMENT=    A PostScript printing util for ASCII files, email, USENET news articles, etc

.include <bsd.port.pre.mk>
.if ${OSVERSION} > 500000
USE_GCC=    3.3
.endif
WRKSRC=     ${WRKDIR}/mp
MAN1=       mp.1
MLINKS=     mp.1 digestp.1  - filep.1   - filofaxp.1 \
        - franklinp.1   - mailp.1   - newsp.1 \
        - timemanp.1    - timesysp.1

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

pre-patch:
    @${CP} ${WRKSRC}/Makefile.dist ${WRKSRC}/Makefile

.include <bsd.port.post.mk>