diff options
author | garga <garga@FreeBSD.org> | 2005-10-18 02:10:17 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2005-10-18 02:10:17 +0800 |
commit | 76dec8232fad2f829de713d77d9ebe8013591eed (patch) | |
tree | e587ea4cac002438100e08a23ec7be697d727372 /www/squidguard | |
parent | 8cdb0280ff8fb53fea49473b27a33c4ddcbdeafd (diff) | |
download | freebsd-ports-gnome-76dec8232fad2f829de713d77d9ebe8013591eed.tar.gz freebsd-ports-gnome-76dec8232fad2f829de713d77d9ebe8013591eed.tar.zst freebsd-ports-gnome-76dec8232fad2f829de713d77d9ebe8013591eed.zip |
- Fix port not respecting non-standard LOCALBASE/X11BASE
- Use DOCSDIR
PR: ports/87570
Submitted by: maintainer
Diffstat (limited to 'www/squidguard')
-rw-r--r-- | www/squidguard/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/www/squidguard/Makefile b/www/squidguard/Makefile index 71b7a7306967..a944085eda69 100644 --- a/www/squidguard/Makefile +++ b/www/squidguard/Makefile @@ -19,13 +19,13 @@ COMMENT= A fast redirector for squid LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3 RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid -USE_SIZE= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --with-db-inc=${LOCALBASE}/include/db3 \ --with-db-lib=${LOCALBASE}/lib \ --with-sg-config=${PREFIX}/etc/squid/${PORTNAME}.conf \ --with-sg-dbhome=${DATADIR} \ - --with-sg-logdir=${LOGDIR} + --with-sg-logdir=${LOGDIR} \ + --exec-prefix=${PREFIX} CFGINPUT= files/sgcfg.in @@ -52,7 +52,7 @@ pre-install: .if !exists(${DATADIR}) @${ECHO_MSG} "===> Installing blacklists" - @${MKDIR} -p ${DATADIR} + @${MKDIR} ${DATADIR} @${TAR} -C ${DATADIR} --exclude *.diff -pxzf ${WRKSRC}/samples/dest/blacklists.tar.gz @${MV} -f ${DATADIR}/blacklists/README ${WRKDIR}/README.blacklists @${MV} -f ${DATADIR}/blacklists/* ${DATADIR}/ @@ -109,14 +109,14 @@ post-install: .if !defined(NOPORTDOCS) @${ECHO_MSG} "===> Installing ${PORTNAME} documentation" - -@${MKDIR} ${PREFIX}/share/doc/${PORTNAME} + -@${MKDIR} ${DOCSDIR} .for i in ${WRKSRC}/doc/*.txt ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.gif ${WRKSRC}/doc/README - @${INSTALL_DATA} ${WRKSRC}$i ${PREFIX}/share/doc/${PORTNAME} + @${INSTALL_DATA} ${WRKSRC}$i ${DOCSDIR} .endfor @if [ -f ${WRKDIR}/README.blacklists ] ; then \ - ${INSTALL_DATA} ${WRKDIR}/README.blacklists ${PREFIX}/share/doc/${PORTNAME} ; \ + ${INSTALL_DATA} ${WRKDIR}/README.blacklists ${DOCSDIR} ; \ fi - @${ECHO_MSG} " -> Documentation installed in: ${PREFIX}/share/doc/${PORTNAME}" + @${ECHO_MSG} " -> Documentation installed in: ${DOCSDIR}" .endif .if !exists(${LOGDIR}) |