1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- make portlint happier

This commit is contained in:
Dirk Meyer 2004-01-31 12:19:33 +00:00
parent edf4887b7b
commit 64da33495c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99599
5 changed files with 6 additions and 8 deletions

View File

@ -41,9 +41,9 @@ pre-patch:
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for file in AUTHORS ChangeLog HACKING INSTALL NEWS \
.for i in AUTHORS ChangeLog HACKING INSTALL NEWS \
README README.BINARY TODO
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
.endfor
.endif

View File

@ -62,7 +62,7 @@ EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-perl
post-patch:
.for i in ${FIXME}
${PERL5} -pi -e "s=([ ])log[(]=\\1log_fg(=" ${WRKSRC}/${i}
@grep "log_fg" ${WRKSRC}/${i}
@${GREP} "log_fg" ${WRKSRC}/${i}
.endfor
pre-configure:

View File

@ -13,8 +13,6 @@ MASTER_SITES= ftp://ftp.enst.fr/pub/unix/a2ps/ \
${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMESUFFIX= -${PAPERSIZE}
DISTFILES= a2ps-${PORTVERSION}${EXTRACT_SUFX}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Formats an ascii file for printing on a postscript printer
@ -28,7 +26,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-4.13
PAPERSIZE?= letter
PAPERSIZECNF= ${PAPERSIZE:S/l/L/:S/a/A/}
STRIP=
CONFIGURE_ARGS= --with-medium=${PAPERSIZECNF} --sharedstatedir=$(PREFIX)/share --sysconfdir=$(PREFIX)/etc --datadir=$(PREFIX)/share --localstatedir=$(PREFIX)/share
CONFIGURE_ARGS= --with-medium=${PAPERSIZECNF} --sharedstatedir=${PREFIX}/share --sysconfdir=${PREFIX}/etc --datadir=${PREFIX}/share --localstatedir=${PREFIX}/share
.if ${PAPERSIZE} != a4 && ${PAPERSIZE} != letter && ${PAPERSIZE} != letterdj
.BEGIN:

View File

@ -52,7 +52,7 @@ pre-extract:
post-extract:
.for i in rsa.c
@tr -d '\r' <${_DISTDIR}/${i} >${WRKSRC}/${i}
@${TR} -d '\r' <${_DISTDIR}/${i} >${WRKSRC}/${i}
.endfor
do-patch:

View File

@ -19,7 +19,6 @@ RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/${PHP4_PORT}
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/${PHP3_PORT}
.endif
.if !defined(WITH_MYSQL)
POSTGRESQL_PORT?= databases/postgresql-client
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
.else
.endif
@ -28,6 +27,7 @@ NO_BUILD= YES
PHP4_PORT?= www/mod_php4-twig
PHP3_PORT?= www/mod_php3
TWIG?= www/data-dist/twig
POSTGRESQL_PORT?= databases/postgresql-client
PLIST_SUB+= TWIG=${TWIG}
ROOTFILES= index.php3 test.php3 goto.php3
CONFFILES= .htaccess mailfooter.inc.php3.sample