1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Use NOPORTDOCS instead of NOPORTSDOCS [1]

Use tabs instead of spaces in Makefile.
Also fix pkg-plist (use %%PORTDOCS%%%%DOCSDIR%%
instead of hardcoded share/doc/...).

Maintainer timeout after 1 week.

Spotted by:	Oliver Eikemeier <eikemeier@fillmore-labs.com> [1]
PR:		53911
This commit is contained in:
Sergey A. Osokin 2003-07-10 13:23:03 +00:00
parent f0ea1868e9
commit fc84e96c4f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=84597
2 changed files with 14 additions and 15 deletions

View File

@ -7,19 +7,18 @@
PORTNAME= ifhp
PORTVERSION= 3.5.7
CATEGORIES= print
CATEGORIES= print
MASTER_SITES= ftp://ftp.lprng.com/pub/%SUBDIR%/ \
ftp://ftp.cise.ufl.edu/pub/mirrors/%SUBDIR%/ \
ftp://ftp.cs.umn.edu/pub/%SUBDIR%/ \
ftp://ftp.informatik.uni-hamburg.de/pub/os/unix/utils/%SUBDIR%/ \
ftp://ftp.uni-paderborn.de/pub/unix/printer/%SUBDIR%/
MASTER_SITE_SUBDIR= LPRng/ifhp
MASTER_SITE_SUBDIR= LPRng/ifhp
EXTRACT_SUFX= .tgz
MAINTAINER=papowell@astart.com
MAINTAINER= papowell@astart.com
COMMENT= IFHP - A highly configurable print filter for LPRng
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
@ -27,13 +26,13 @@ CONFIGURE_ARGS= \
--with-ldopts="-L${LOCALBASE}/lib" \
--with-ccopts="-I${LOCALBASE}/include"
.if defined(PREFIX)
CONFIGURE_ARGS+= --prefix="${PREFIX}"
CONFIGURE_ARGS+= --prefix="${PREFIX}"
.endif
.if defined(SYSCONFDIR)
CONFIGURE_ARGS+= --sysconfdir="${SYSCONFDIR}"
CONFIGURE_ARGS+= --sysconfdir="${SYSCONFDIR}"
.endif
MAN8=ifhp.8 textps.8
MAN8= ifhp.8 textps.8
pre-everything::
@${ECHO_MSG} "If you want to replace the default printing system with LPRng, use:"
@ -50,7 +49,7 @@ pre-everything::
@${ECHO_MSG} "Configuring with '${CONFIGURE_ARGS}'"
post-install:
.if !defined(NOPORTSDOCS)
.if !defined(NOPORTDOCS)
@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0555 ${DOCSDIR}
.for ext in html pdf ppt ps txt gif jpg png
@for i in `ls ${WRKSRC}/HOWTO |${GREP} "\.${ext}$$"`; \

View File

@ -2,11 +2,11 @@ etc/ifhp.conf.sample
libexec/filters/ifhp
libexec/filters/textps
libexec/filters/wrapper
share/doc/ifhp/IFHP-HOWTO.html
share/doc/ifhp/IFHP-HOWTO.pdf
share/doc/ifhp/LPRng.jpg
share/doc/ifhp/LPRngT-L.jpg
share/doc/ifhp/LPRngT-S.jpg
share/doc/ifhp/ifhp-S.jpg
%%PORTDOCS%%%%DOCSDIR%%/IFHP-HOWTO.html
%%PORTDOCS%%%%DOCSDIR%%/IFHP-HOWTO.pdf
%%PORTDOCS%%%%DOCSDIR%%/LPRng.jpg
%%PORTDOCS%%%%DOCSDIR%%/LPRngT-L.jpg
%%PORTDOCS%%%%DOCSDIR%%/LPRngT-S.jpg
%%PORTDOCS%%%%DOCSDIR%%/ifhp-S.jpg
@dirrm libexec/filters
@dirrm share/doc/ifhp
%%PORTDOCS%%@dirrm %%DOCSDIR%%