mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
f935a609c5
supports them. This is determined by running ``configure --help'' in do-configure target and set the shell variable _LATE_CONFIGURE_ARGS which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - Correct some manual pages location from PREFIX/man to MANPREFIX/man - Define INFO_PATH where necessary - Document that .info files are installed in a subdirectory relative to PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and subdirectory detection. PR: ports/111470 Approved by: portmgr Discussed with: stas (Mk/*), gerald (info related stuffs) Tested by: pointyhat exp run
40 lines
905 B
Makefile
40 lines
905 B
Makefile
# New ports collection makefile for: gzip
|
|
# Date created: 27 July 2002
|
|
# Whom: cyrille.lefevre@laposte.net
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gzip
|
|
PORTVERSION= 1.3.12
|
|
PORTREVISION= 1
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= gabor@FreeBSD.org
|
|
COMMENT= A compression utility designed to be a replacement for compress
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
MAN1= gunzip.1 gzexe.1 gzip.1 zcat.1 zcmp.1 zdiff.1 zforce.1 \
|
|
zgrep.1 zless.1 zmore.1 znew.1
|
|
INFO= gzip
|
|
|
|
DOC_FILES= AUTHORS COPYING INSTALL NEWS README README-alpha \
|
|
THANKS TODO
|
|
|
|
post-configure:
|
|
@${REINPLACE_CMD} -e 's|^SHELL =.*|SHELL=/bin/sh|' ${WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in ${DOC_FILES}
|
|
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|