aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/gzip
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-04-05 17:22:10 +0800
committerbapt <bapt@FreeBSD.org>2013-04-05 17:22:10 +0800
commitf97f22d2c4c7286a3f3ac72e4f6b85ec4db0a513 (patch)
tree80c9420e3d16eea95bf0e90cd48992f52e27bf86 /archivers/gzip
parent6791401e923481367217a662486234b9becaf063 (diff)
downloadfreebsd-ports-gnome-f97f22d2c4c7286a3f3ac72e4f6b85ec4db0a513.tar.gz
freebsd-ports-gnome-f97f22d2c4c7286a3f3ac72e4f6b85ec4db0a513.tar.zst
freebsd-ports-gnome-f97f22d2c4c7286a3f3ac72e4f6b85ec4db0a513.zip
Fix leftovers by using USES=charsetfix
Remove now useless pre-configure target While here convert NOPORTDOCS to DOCS option Reported by: pointyhat via miwi Approved by: portmgr (implicit)
Diffstat (limited to 'archivers/gzip')
-rw-r--r--archivers/gzip/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/archivers/gzip/Makefile b/archivers/gzip/Makefile
index 7ce0ea24d6b2..c028bbfdcc0a 100644
--- a/archivers/gzip/Makefile
+++ b/archivers/gzip/Makefile
@@ -11,6 +11,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= gabor@FreeBSD.org
COMMENT= Compression utility designed to be a replacement for compress
+USES= charsetfix
GNU_CONFIGURE= yes
MAN1= gunzip.1 gzexe.1 gzip.1 zcat.1 zcmp.1 zdiff.1 zforce.1 \
@@ -20,27 +21,22 @@ INFO= gzip
DOC_FILES= AUTHORS COPYING ChangeLog ChangeLog-2007 INSTALL NEWS README \
THANKS TODO
-OPTIONS_DEFINE= RSYNCABLE
+OPTIONS_DEFINE= RSYNCABLE DOCS
OPTIONS_DEFAULT= RSYNCABLE
RSYNCABLE_DESC= Include --rsyncable patch
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MRSYNCABLE}
EXTRA_PATCHES= ${FILESDIR}/extra-patch-gzip-rsyncable.diff
.endif
-post-configure:
- @${REINPLACE_CMD} -e 's|^SHELL =.*|SHELL=/bin/sh|' ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e 's|need_charset_alias=true|need_charset_alias=false|g' \
- ${WRKSRC}/lib/Makefile.in
-
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>