1996-08-16 07:08:42 +00:00
|
|
|
# New ports collection makefile for: mp
|
|
|
|
# Version required: 3.0.1
|
|
|
|
# Date created: 11 July 1996
|
|
|
|
# Whom: David O'Brien <obrien@cs.ucdavis.edu>
|
|
|
|
#
|
1997-11-10 11:23:41 +00:00
|
|
|
# $Id: Makefile,v 1.5 1997/10/10 06:53:32 obrien Exp $
|
1996-08-16 07:08:42 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= mp-3.0.1
|
|
|
|
PKGNAME= mp-${PAPERSIZE}-3.0.1
|
1996-11-17 08:45:20 +00:00
|
|
|
CATEGORIES= print
|
1997-01-29 13:20:05 +00:00
|
|
|
MASTER_SITES= ftp://ftp.NUXI.com/pub/misc/ \
|
1996-08-16 07:08:42 +00:00
|
|
|
ftp://ftp.win.tue.nl/pub/mail/
|
|
|
|
|
1997-10-10 06:53:48 +00:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
1996-08-16 07:08:42 +00:00
|
|
|
|
1997-11-10 11:23:41 +00:00
|
|
|
MANUAL_PACKAGE_BUILD= PAPERSIZE has to be set to letter a4
|
1996-08-16 07:08:42 +00:00
|
|
|
WRKSRC= ${WRKDIR}/mp
|
|
|
|
USE_GMAKE= yes
|
1996-11-18 11:44:27 +00:00
|
|
|
MAN1= mp.1
|
1996-08-16 07:08:42 +00:00
|
|
|
|
|
|
|
.if !defined(PAPERSIZE)
|
|
|
|
PAPERSIZE=letter
|
|
|
|
.elif ${PAPERSIZE} == A4 || ${PAPERSIZE} == a4
|
|
|
|
INSTALL_TARGET= install-a4
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-patch:
|
1996-11-17 08:45:20 +00:00
|
|
|
@${CP} ${WRKSRC}/Makefile.dist ${WRKSRC}/Makefile
|
1996-08-16 07:08:42 +00:00
|
|
|
|
|
|
|
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>
|