textproc/groff: shebangfix and pet portlint

PR:		189654
Submitted by:	paul inetstat net
Approved by:	maintainer
This commit is contained in:
William Grzybowski 2014-06-20 14:53:58 +00:00
parent 09409b4f1c
commit 9b5b1503ef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358580

View file

@ -3,6 +3,7 @@
PORTNAME= groff
PORTVERSION= 1.22.2
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= groff
@ -15,10 +16,14 @@ LICENSE= GPLv3
BUILD_DEPENDS= ${LOCALBASE}/bin/psselect:${PORTSDIR}/print/psutils
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_GHOSTSCRIPT= yes
USES= gmake perl5
USE_GHOSTSCRIPT=yes
USES= gmake perl5 shebangfix
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-awk=/usr/bin/awk
CONFIGURE_ENV+= PERLPATH=${perl_CMD} # shebangfix
SHEBANG_FILES= src/utils/afmtodit/afmtodit.pl \
contrib/mm/mmroff.pl \
# Canonicalize to A4 if set.
.if defined(A4) || (defined(PAPERSIZE) && ${PAPERSIZE:tu} == "A4")