mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
02d389691c
I'm here, make a2ps43's Makefile detect the missing PAPERSIZE correctly, and add -${PAPERSIZE} in lprps's PKGNAME.
35 lines
812 B
Makefile
35 lines
812 B
Makefile
# New ports collection makefile for: mp
|
|
# Version required: 3.0.1
|
|
# Date created: 11 July 1996
|
|
# Whom: David O'Brien <obrien@cs.ucdavis.edu>
|
|
#
|
|
# $Id: Makefile,v 1.8 1998/09/19 01:40:37 hoek Exp $
|
|
#
|
|
|
|
DISTNAME= mp-3.0.1
|
|
PKGNAME= mp-${PAPERSIZE}-3.0.1
|
|
CATEGORIES= print
|
|
MASTER_SITES= ftp://ftp.NUXI.com/pub/misc/ \
|
|
ftp://ftp.win.tue.nl/pub/mail/
|
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
|
|
LOOP_VAR= PAPERSIZE
|
|
LOOP_OPTIONS= letter a4
|
|
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
|
|
|
|
.if !defined(PAPERSIZE)
|
|
PAPERSIZE=letter
|
|
.elif ${PAPERSIZE} == A4 || ${PAPERSIZE} == a4
|
|
INSTALL_TARGET= install-a4
|
|
.endif
|
|
|
|
pre-patch:
|
|
@${CP} ${WRKSRC}/Makefile.dist ${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.mk>
|