summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-07-10 13:23:03 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-07-10 13:23:03 +0000
commitfc84e96c4f7384932d2935a799223767042ec65d (patch)
tree46d5d56fb1982c7b6bdaa29758c84c77ad08099a /print
parentUpgrade to 0.85. (diff)
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
Notes
Notes: svn path=/head/; revision=84597
Diffstat (limited to 'print')
-rw-r--r--print/ifhp/Makefile15
-rw-r--r--print/ifhp/pkg-plist14
2 files changed, 14 insertions, 15 deletions
diff --git a/print/ifhp/Makefile b/print/ifhp/Makefile
index ae1fc3eacfe3..6b8e7f9b0a3b 100644
--- a/print/ifhp/Makefile
+++ b/print/ifhp/Makefile
@@ -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}$$"`; \
diff --git a/print/ifhp/pkg-plist b/print/ifhp/pkg-plist
index 554425fbba46..12c13b6d7a2e 100644
--- a/print/ifhp/pkg-plist
+++ b/print/ifhp/pkg-plist
@@ -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%%