1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/print/mp-letter/Makefile
David E. O'Brien af00fa4959 Doesn't require GMAKE anymore.
Respect CXX and CFLAGS.

Submitted by:	Mikhail Teterin <mi@aldan.algebra.com>
1998-07-30 04:36:46 +00:00

44 lines
1.0 KiB
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.6 1997/11/10 11:23:29 asami 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
MANUAL_PACKAGE_BUILD= PAPERSIZE has to be set to letter a4
WRKSRC= ${WRKDIR}/mp
MAN1= mp.1
.if !defined(PAPERSIZE)
PAPERSIZE=letter
.elif ${PAPERSIZE} == A4 || ${PAPERSIZE} == a4
INSTALL_TARGET= install-a4
.endif
pre-patch:
@${CP} ${WRKSRC}/Makefile.dist ${WRKSRC}/Makefile
MP_UTILS= digestp filep filofaxp franklinp mailp newsp timemanp timesysp
post-install:
.if !defined(NOMANCOMPRESS)
-(cd ${PREFIX}/man/man1 ; \
for mpu in $(MP_UTILS) ; do \
ln -sf mp.1.gz $$mpu.1.gz ; done)
.else
-(cd ${PREFIX}/man/man1 ; \
for mp in $(MP_UTILS) ; do \
ln -sf mp.1 $$mpu.1 ; done)
.endif
.include <bsd.port.mk>