Add back part of manual compression rule (note double meaning of
"manual" here), bsd.port.mk can't deal with both MAN1 and MAN3 if they have different MANPREFIX's. Hmm.
This commit is contained in:
parent
f1371a36f6
commit
d12ba0e211
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=4595
1 changed files with 8 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
# Date created: September 29th 1996
|
# Date created: September 29th 1996
|
||||||
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
|
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
|
||||||
#
|
#
|
||||||
# $Id: Makefile,v 1.3 1996/10/24 09:59:20 jfitz Exp $
|
# $Id: Makefile,v 1.4 1996/11/17 03:18:38 obrien Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
DISTNAME= MsqlPerl-1.11
|
DISTNAME= MsqlPerl-1.11
|
||||||
|
@ -19,9 +19,15 @@ BUILD_DEPENDS= ${PREFIX}/Minerva/lib/libmsql.a:${PORTSDIR}/databases/msql \
|
||||||
RUN_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5
|
RUN_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5
|
||||||
|
|
||||||
MAN1= pmsql.1
|
MAN1= pmsql.1
|
||||||
MAN3= Msql.3
|
|
||||||
|
|
||||||
do-configure:
|
do-configure:
|
||||||
@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
|
@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
.if !defined(NOMANCOMPRESS)
|
||||||
|
@ for file in ${PREFIX}/lib/perl5/man/man3/Msql.3; do \
|
||||||
|
gzip -9nf $$file; \
|
||||||
|
done
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Reference in a new issue