Use MLINKS.
This commit is contained in:
parent
f9628f732f
commit
72c59e5654
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13234
@ -3,7 +3,7 @@
|
||||
# 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 $
|
||||
# $Id: Makefile,v 1.7 1998/07/30 04:36:46 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= mp-3.0.1
|
||||
@ -17,6 +17,9 @@ MAINTAINER= obrien@FreeBSD.org
|
||||
MANUAL_PACKAGE_BUILD= PAPERSIZE has to be set to 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
|
||||
@ -27,17 +30,4 @@ INSTALL_TARGET= install-a4
|
||||
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>
|
||||
|
@ -14,11 +14,3 @@ share/mp/mp.pro.l.ps
|
||||
share/mp/mp.pro.ps
|
||||
share/mp/mp.pro.tm.ps
|
||||
share/mp/mp.pro.ts.ps
|
||||
man/man1/digestp.1.gz
|
||||
man/man1/filep.1.gz
|
||||
man/man1/filofaxp.1.gz
|
||||
man/man1/franklinp.1.gz
|
||||
man/man1/mailp.1.gz
|
||||
man/man1/newsp.1.gz
|
||||
man/man1/timemanp.1.gz
|
||||
man/man1/timesysp.1.gz
|
||||
|
Loading…
Reference in New Issue
Block a user